mbarnig commited on
Commit
6087a99
β€’
1 Parent(s): 38aedf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- model_checkpoint = "Helsinki-NLP/opus-tatoeba-fr-de"
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")