Demosthene-OR commited on
Commit
44b1492
·
1 Parent(s): b7c028e

Update chatbot_tab.py

Browse files
Files changed (1) hide show
  1. tabs/chatbot_tab.py +1 -1
tabs/chatbot_tab.py CHANGED
@@ -206,7 +206,7 @@ def run():
206
  st.write("**thread_id:** "+thread_id)
207
  # query = st.text_area(label=tr("Vendeur:"), value="")
208
  query = ""
209
- audio_bytes = audio_recorder (pause_threshold=2.0, sample_rate=16000, text=tr("Cliquez pour parler, puis attendre 2sec."), \
210
  recording_color="#e8b62c", neutral_color="#1ec3bc", icon_size="6x",)
211
 
212
  if audio_bytes:
 
206
  st.write("**thread_id:** "+thread_id)
207
  # query = st.text_area(label=tr("Vendeur:"), value="")
208
  query = ""
209
+ audio_bytes = audio_recorder (pause_threshold=2.0, sample_rate=16000, auto_start=True, text=tr("Cliquez pour parler, puis attendre 2sec."), \
210
  recording_color="#e8b62c", neutral_color="#1ec3bc", icon_size="6x",)
211
 
212
  if audio_bytes: