Imarticuslearning commited on
Commit
a7e9cc4
·
verified ·
1 Parent(s): 199a3db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -870,7 +870,7 @@ if st.session_state["generated_questions"]:
870
  st.markdown(f"<h4 class='timer-text'>🎙️ {remaining} seconds to answer...</h4>", unsafe_allow_html=True)
871
 
872
  audio_value = st.audio_input("🎤 Tap to record — then stop when done", key=f"audio_{idx}")
873
- if audio_value:
874
  wav_path = f"response_{idx}.wav"
875
  with open(wav_path, "wb") as f:
876
  f.write(audio_value.getbuffer())
 
870
  st.markdown(f"<h4 class='timer-text'>🎙️ {remaining} seconds to answer...</h4>", unsafe_allow_html=True)
871
 
872
  audio_value = st.audio_input("🎤 Tap to record — then stop when done", key=f"audio_{idx}")
873
+ if audio_value:
874
  wav_path = f"response_{idx}.wav"
875
  with open(wav_path, "wb") as f:
876
  f.write(audio_value.getbuffer())