OuroborosM commited on
Commit
ecc6c2f
·
1 Parent(s): 153e8b3

update sound

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -956,7 +956,11 @@ with gr.Blocks() as demo:
956
  agentchoice.change(SetAgent, agentchoice, None)
957
  frash_logs.click(read_logs, None, logs)
958
  # voice_output.end(ClearAudio, None, voice_output)
959
- voice_output.end(voice_output.clear, None, None)
 
 
 
 
960
 
961
  # demo.load(read_logs, None, logs, every=1)
962
 
 
956
  agentchoice.change(SetAgent, agentchoice, None)
957
  frash_logs.click(read_logs, None, logs)
958
  # voice_output.end(ClearAudio, None, voice_output)
959
+ def clear_voice():
960
+ print("clear audio ...")
961
+ voice_output.clear()
962
+
963
+ voice_output.end(clear_voice, None, None)
964
 
965
  # demo.load(read_logs, None, logs, every=1)
966