OuroborosM commited on
Commit
f2ee9ba
·
1 Parent(s): 1212925
Files changed (1) hide show
  1. app.py +1 -1
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 is not []:
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: