salomonsky commited on
Commit
5381e20
·
verified ·
1 Parent(s): ff663fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def main():
96
  if not st.session_state.pre_prompt_sent:
97
  st.session_state.pre_prompt_sent = True
98
 
99
- audio = mic_recorder(start_prompt="▶️", stop_prompt="🛑", key='recorder')
100
 
101
  if audio:
102
  st.audio(audio['bytes'], format="audio/wav")
 
96
  if not st.session_state.pre_prompt_sent:
97
  st.session_state.pre_prompt_sent = True
98
 
99
+ audio = mic_recorder(start_prompt="▶️", stop_prompt="🛑", key='recorder', sample_rate=16000)
100
 
101
  if audio:
102
  st.audio(audio['bytes'], format="audio/wav")