Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,7 @@ def audio_to_audio_chatbot(audio):
|
|
| 15 |
|
| 16 |
# 1. Speech-to-Text
|
| 17 |
text = speech_to_text(audio)["text"]
|
|
|
|
| 18 |
print(f"User: {text}")
|
| 19 |
|
| 20 |
# 2. Text-to-Text (Hier wird ein einfacher Echo-Bot verwendet, kann durch ein komplexeres Modell ersetzt werden)
|
|
|
|
| 15 |
|
| 16 |
# 1. Speech-to-Text
|
| 17 |
text = speech_to_text(audio)["text"]
|
| 18 |
+
return text
|
| 19 |
print(f"User: {text}")
|
| 20 |
|
| 21 |
# 2. Text-to-Text (Hier wird ein einfacher Echo-Bot verwendet, kann durch ein komplexeres Modell ersetzt werden)
|