Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def transcribe_audio(openai_key, file_path, model):
|
|
61 |
st.write('Reasoning with your transcription..')
|
62 |
transcript=response.json().get('text')
|
63 |
st.write(transcript)
|
64 |
-
gptResponse = chat_with_model(, '') # send transcript to ChatGPT
|
65 |
filename = generate_filename(transcript, choice) # auto name file with date and prompt per output file type
|
66 |
create_file(filename, transcript, gptResponse) # write output file
|
67 |
return gptResponse
|
|
|
61 |
st.write('Reasoning with your transcription..')
|
62 |
transcript=response.json().get('text')
|
63 |
st.write(transcript)
|
64 |
+
gptResponse = chat_with_model(transcript, '') # send transcript to ChatGPT
|
65 |
filename = generate_filename(transcript, choice) # auto name file with date and prompt per output file type
|
66 |
create_file(filename, transcript, gptResponse) # write output file
|
67 |
return gptResponse
|