Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| import subprocess, time | |
| subprocess.run(['git', 'clone', 'https://github.com/teleological/camxes-py']) | |
| time.sleep(3) | |
| subprocess.run(['2to3', './camxes-py/camxes.py', '-w']) | |
| #import camxes | |
| def greet(lojban): | |
| #return camxes.parse(name) | |
| return subprocess.run(['./camxes-py/camxes.py', f'"{lojban}"']) | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| demo.launch() |