Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1012,7 +1012,7 @@ mic_transcribe = gr.Interface(
|
|
| 1012 |
|
| 1013 |
|
| 1014 |
|
| 1015 |
-
greek_translation_pipe = pipeline("
|
| 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"]
|