Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
model_checkpoint = "Helsinki-NLP/opus-
|
5 |
translator = pipeline("translation", model=model_checkpoint)
|
6 |
|
7 |
my_input = gr.Textbox(label="Input")
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
model_checkpoint = "Helsinki-NLP/opus-mt-fr-de"
|
5 |
translator = pipeline("translation", model=model_checkpoint)
|
6 |
|
7 |
my_input = gr.Textbox(label="Input")
|