Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -434,10 +434,10 @@ def whisper_main():
|
|
| 434 |
st.write(transcription)
|
| 435 |
response = StreamLLMChatResponse(transcription)
|
| 436 |
st.write(response)
|
| 437 |
-
filename = generate_filename(str(response), ".txt")
|
| 438 |
-
st.write(filename)
|
| 439 |
-
create_file(filename, transcription, '', True)
|
| 440 |
-
st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
| 441 |
|
| 442 |
def main():
|
| 443 |
|
|
|
|
| 434 |
st.write(transcription)
|
| 435 |
response = StreamLLMChatResponse(transcription)
|
| 436 |
st.write(response)
|
| 437 |
+
#filename = generate_filename(str(response), ".txt")
|
| 438 |
+
#st.write(filename)
|
| 439 |
+
#create_file(filename, transcription, '', True)
|
| 440 |
+
#st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
| 441 |
|
| 442 |
def main():
|
| 443 |
|