awacke1 commited on
Commit
1dfcc51
1 Parent(s): 1331b85

Update app.py

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