GiladtheFixer commited on
Commit
5f75b38
1 Parent(s): ed9c614

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-es")
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"]