awacke1 commited on
Commit
b704104
·
1 Parent(s): e47cb7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ def transcribe_audio(openai_key, file_path, model):
47
  st.write(response.json())
48
  chatResponse = chat_with_model(response.json().get('text'), '') # *************************************
49
  transcript = response.json().get('text')
50
- st.write('Responses:')
51
- st.write(chatResponse)
52
  filename = generate_filename(transcript, 'txt')
53
  create_file(filename, transcript, chatResponse)
54
  return transcript
 
47
  st.write(response.json())
48
  chatResponse = chat_with_model(response.json().get('text'), '') # *************************************
49
  transcript = response.json().get('text')
50
+ #st.write('Responses:')
51
+ #st.write(chatResponse)
52
  filename = generate_filename(transcript, 'txt')
53
  create_file(filename, transcript, chatResponse)
54
  return transcript