N.Achyuth Reddy commited on
Commit
b151e56
·
1 Parent(s): a6d394e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -71,7 +71,8 @@ for message in st.session_state.messages:
71
  st.markdown(message["content"])
72
 
73
  textinput = st.chat_input("Ask AgriTure anything...")
74
- wav_audio_data = st_audiorec()
 
75
 
76
  if wav_audio_data is not None:
77
  with st.status("Transcribing audio..."):
 
71
  st.markdown(message["content"])
72
 
73
  textinput = st.chat_input("Ask AgriTure anything...")
74
+ # Assume st_audiorec is a simplified audio recorder function
75
+ wav_audio_data = st.audio_recorder()
76
 
77
  if wav_audio_data is not None:
78
  with st.status("Transcribing audio..."):