Spaces:
Runtime error
Runtime error
Commit
•
5f75b38
1
Parent(s):
ed9c614
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ import gradio as gr
|
|
30 |
|
31 |
from transformers import pipeline
|
32 |
|
33 |
-
pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-
|
34 |
|
35 |
def predict(text):
|
36 |
return pipe(text)[0]["translation_text"]
|
|
|
30 |
|
31 |
from transformers import pipeline
|
32 |
|
33 |
+
pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-ru")
|
34 |
|
35 |
def predict(text):
|
36 |
return pipe(text)[0]["translation_text"]
|