Spaces:
Runtime error
Runtime error
added
#2
by
siya02
- opened
app.py
CHANGED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
| 5 |
|
| 6 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
iface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
translator_en = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-fr")
|
| 4 |
+
translator_fr = gr.Interface.load("shrusti333/translator")
|
| 5 |
+
|
| 6 |
+
|
| 7 |
|
| 8 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 9 |
iface.launch()
|