Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,14 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
import camxes
|
| 3 |
import subprocess
|
| 4 |
|
| 5 |
subprocess.run(['git', 'clone', 'https://github.com/teleological/camxes-py', './'])
|
| 6 |
time.sleep(3)
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 12 |
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
import subprocess
|
| 3 |
|
| 4 |
subprocess.run(['git', 'clone', 'https://github.com/teleological/camxes-py', './'])
|
| 5 |
time.sleep(3)
|
| 6 |
|
| 7 |
+
#import camxes
|
| 8 |
+
|
| 9 |
+
def greet(lojban):
|
| 10 |
+
#return camxes.parse(name)
|
| 11 |
+
return subprocess.run(['camxes.py', f'"${lojban}"'])
|
| 12 |
|
| 13 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 14 |
demo.launch()
|