Spaces:
Runtime error
Runtime error
Commit
·
f2ee9ba
1
Parent(s):
1212925
len
Browse files
app.py
CHANGED
@@ -441,7 +441,7 @@ def chathmi2(message, history):
|
|
441 |
print("History: ", history)
|
442 |
response = output
|
443 |
yield response
|
444 |
-
if Audio_output
|
445 |
yield Audio_output
|
446 |
Audio_output = []
|
447 |
except Exception as e:
|
|
|
441 |
print("History: ", history)
|
442 |
response = output
|
443 |
yield response
|
444 |
+
if len(Audio_output) > 0:
|
445 |
yield Audio_output
|
446 |
Audio_output = []
|
447 |
except Exception as e:
|