awacke1 commited on
Commit
1217eea
·
1 Parent(s): e8bdb29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -433,7 +433,7 @@ def whisper_main():
433
  transcription = transcribe_audio(filename)
434
  st.write(transcription)
435
  response = StreamLLMChatResponse(transcription)
436
- filename = generate_filename(transcription, ".txt")
437
  create_file(filename, user_prompt, response, should_save)
438
  st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
439
 
 
433
  transcription = transcribe_audio(filename)
434
  st.write(transcription)
435
  response = StreamLLMChatResponse(transcription)
436
+ filename = generate_filename(str(response), ".txt")
437
  create_file(filename, user_prompt, response, should_save)
438
  st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
439