TekamBrice
commited on
Commit
•
72cad32
1
Parent(s):
cdf60f4
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 |
translate=pipeline('translation',model='Helsinki-NLP/opus-mt-fr-en')
|
5 |
def get_translation(text):
|
|
|
1 |
import gradio as gr
|
2 |
import transformers
|
3 |
+
import sentencepiece
|
4 |
from transformers import pipeline
|
5 |
translate=pipeline('translation',model='Helsinki-NLP/opus-mt-fr-en')
|
6 |
def get_translation(text):
|