Spaces:
Runtime error
Runtime error
Commit ·
192ce6e
1
Parent(s): 05a2112
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
iface = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-
|
|
|
|
| 4 |
)
|
| 5 |
|
| 6 |
iface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
iface = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-es",
|
| 4 |
+
examples=[["Hello! My name is Omar"]]
|
| 5 |
)
|
| 6 |
|
| 7 |
iface.launch()
|