Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1022,8 +1022,8 @@ def answer_question(user_question):
|
|
| 1022 |
def answer_from_audio(audio):
|
| 1023 |
text = transcribe_speech(audio)
|
| 1024 |
# translated_text = translate_from_greek_english(text)
|
| 1025 |
-
|
| 1026 |
-
return text
|
| 1027 |
|
| 1028 |
|
| 1029 |
# --------------------------
|
|
|
|
| 1022 |
def answer_from_audio(audio):
|
| 1023 |
text = transcribe_speech(audio)
|
| 1024 |
# translated_text = translate_from_greek_english(text)
|
| 1025 |
+
return answer_question(text)
|
| 1026 |
+
# return text
|
| 1027 |
|
| 1028 |
|
| 1029 |
# --------------------------
|