ThatOneCoder commited on
Commit
e754acc
·
verified ·
1 Parent(s): 294962e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -1,13 +1,6 @@
1
  import streamlit as st
2
  from streamlit_mic_recorder import mic_recorder,speech_to_text
3
 
4
- def callback():
5
- if st.session_state.my_recorder_output:
6
- audio_bytes=st.session_state.my_recorder_output['bytes']
7
- st.audio(audio_bytes)
8
-
9
- mic_recorder(key='my_recorder', callback=callback)
10
-
11
  text=speech_to_text(
12
  language='en',
13
  start_prompt="Start recording",
 
1
  import streamlit as st
2
  from streamlit_mic_recorder import mic_recorder,speech_to_text
3
 
 
 
 
 
 
 
 
4
  text=speech_to_text(
5
  language='en',
6
  start_prompt="Start recording",