Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1036,8 +1036,8 @@ def answer_question(user_question):
|
|
| 1036 |
def answer_from_audio(audio):
|
| 1037 |
text = transcribe_speech(audio)
|
| 1038 |
# translated_text = translate_from_greek_english(text)
|
| 1039 |
-
|
| 1040 |
-
return text
|
| 1041 |
|
| 1042 |
|
| 1043 |
# --------------------------
|
|
|
|
| 1036 |
def answer_from_audio(audio):
|
| 1037 |
text = transcribe_speech(audio)
|
| 1038 |
# translated_text = translate_from_greek_english(text)
|
| 1039 |
+
return answer_question(text)
|
| 1040 |
+
# return text
|
| 1041 |
|
| 1042 |
|
| 1043 |
# --------------------------
|