Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def handle_audio(audio):
|
|
| 42 |
return handle_text(transcriptions)
|
| 43 |
|
| 44 |
def chatbot(text, img, audio):
|
| 45 |
-
text_output = handle_text(text) if text
|
| 46 |
img_output = handle_image(img) if img.any() else ''
|
| 47 |
audio_output = handle_audio(audio) if audio.any() else ''
|
| 48 |
|
|
|
|
| 42 |
return handle_text(transcriptions)
|
| 43 |
|
| 44 |
def chatbot(text, img, audio):
|
| 45 |
+
text_output = handle_text(text) if text else ''
|
| 46 |
img_output = handle_image(img) if img.any() else ''
|
| 47 |
audio_output = handle_audio(audio) if audio.any() else ''
|
| 48 |
|