mafoaurelie
commited on
Commit
•
f2e220b
1
Parent(s):
e51470c
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import transformers
|
|
|
3 |
from transformers import pipeline
|
4 |
translator=pipeline("translation",model='Helsinki-NLP/opus-mt-fr-en')
|
5 |
|
|
|
1 |
import gradio as gr
|
2 |
import transformers
|
3 |
+
import sentencepiece
|
4 |
from transformers import pipeline
|
5 |
translator=pipeline("translation",model='Helsinki-NLP/opus-mt-fr-en')
|
6 |
|