Sandiago21 commited on
Commit
efcf5d7
·
verified ·
1 Parent(s): 4ba7901

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1015,7 +1015,8 @@ mic_transcribe = gr.Interface(
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"]
 
1019
 
1020
 
1021
 
 
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 "Hello world"
1019
+ # return greek_translation_pipe(text)#[0]["translation_text"]
1020
 
1021
 
1022