pratikshahp commited on
Commit
275e93c
·
verified ·
1 Parent(s): 6488f67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -37,7 +37,8 @@ def transcribe_audio(audio_bytes):
37
  st.title("Audio to Text Transcription with Recording")
38
 
39
  # Use the st_audio_recorder widget to record audio
40
- audio_bytes = audio_recorder(sample_rate=16000, codec="wav", show_playback_controls=True)
 
41
 
42
  # Display the recorded audio
43
  if audio_bytes:
 
37
  st.title("Audio to Text Transcription with Recording")
38
 
39
  # Use the st_audio_recorder widget to record audio
40
+
41
+ audio_bytes = audio_recorder()
42
 
43
  # Display the recorded audio
44
  if audio_bytes: