awacke1 commited on
Commit
e014c77
·
1 Parent(s): 37a4497

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def transcribe_audio(openai_key, file_path, model):
73
  def save_and_play_audio(audio_recorder):
74
  audio_bytes = audio_recorder()
75
  if audio_bytes:
76
- filename = generate_filename("RecordingForTranscriptionInput", "wav")
77
  with open(filename, 'wb') as f:
78
  f.write(audio_bytes)
79
  st.audio(audio_bytes, format="audio/wav")
 
73
  def save_and_play_audio(audio_recorder):
74
  audio_bytes = audio_recorder()
75
  if audio_bytes:
76
+ filename = generate_filename("Recording", "wav")
77
  with open(filename, 'wb') as f:
78
  f.write(audio_bytes)
79
  st.audio(audio_bytes, format="audio/wav")