Spaces:
Sleeping
Sleeping
JJFrancisco
commited on
Commit
•
af19d57
1
Parent(s):
2ff2e3b
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(name):
|
4 |
-
onmt_translate -src name -model NOS-MT-en-gl.pt --output ./output_file.txt
|
5 |
return ./output_file.txt
|
6 |
|
7 |
demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(name):
|
4 |
+
onmt_translate -src name -model NOS-MT-en-gl.pt --output ./output_file.txt
|
5 |
return ./output_file.txt
|
6 |
|
7 |
demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
|