eaglelandsonce commited on
Commit
64021df
·
1 Parent(s): f4d58a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -209,9 +209,8 @@ def main():
209
  filename = save_and_play_audio(audio_recorder)
210
  if filename is not None:
211
  transcription = transcribe_audio(openai.api_key, filename, "whisper-1")
212
- st.session_state.text_content = transcription
213
- my_prompt = st.text_area("Enter prompts, instructions & questions:", st.session_state.text_content, height=100)
214
-
215
 
216
 
217
  all_files = glob.glob("*.*")
 
209
  filename = save_and_play_audio(audio_recorder)
210
  if filename is not None:
211
  transcription = transcribe_audio(openai.api_key, filename, "whisper-1")
212
+ st.session_state.text_content = transcription
213
+
 
214
 
215
 
216
  all_files = glob.glob("*.*")