Imarticuslearning commited on
Commit
870a480
·
verified ·
1 Parent(s): d03f528

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -851,7 +851,7 @@ if st.session_state["generated_questions"]:
851
  )
852
  if webrtc_ctx.state.playing:
853
  if st.button("⏹️ Stop Recording"):
854
- wav_path = f"response_{idx}.wav"
855
  try:
856
  frames = webrtc_ctx.audio_receiver.get_frames(timeout=1)
857
  except Exception as e:
 
851
  )
852
  if webrtc_ctx.state.playing:
853
  if st.button("⏹️ Stop Recording"):
854
+ wav_path = f"response_{idx}.wav"
855
  try:
856
  frames = webrtc_ctx.audio_receiver.get_frames(timeout=1)
857
  except Exception as e: