Sandiago21 commited on
Commit
bf367b6
·
verified ·
1 Parent(s): a738905

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1012,7 +1012,7 @@ mic_transcribe = gr.Interface(
1012
 
1013
 
1014
 
1015
- greek_translation_pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-tc-big-el-en")
1016
 
1017
  def translate_from_greek_english(text):
1018
  return greek_translation_pipe(text)[0]["translation_text"]
 
1012
 
1013
 
1014
 
1015
+ greek_translation_pipe = pipeline("text-generation", model="Helsinki-NLP/opus-mt-tc-big-el-en")
1016
 
1017
  def translate_from_greek_english(text):
1018
  return greek_translation_pipe(text)[0]["translation_text"]