Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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 |
|