vsj0702 commited on
Commit
2c64ec0
·
verified ·
1 Parent(s): a889e9c

Fix error in app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -17,10 +17,6 @@ def frontend():
17
  status_placeholder = st.empty()
18
  status_placeholder.write("Press Mic button to start asking question")
19
  recorded_audio = audio_recorder()
20
- transcription = audio_to_text("bark_out.wav")
21
- response = answer(transcription)
22
- st.write("Q:" + transcription)
23
- st.write("A: " + response)
24
  if recorded_audio:
25
  status_placeholder.write("Converting audio ...")
26
  data_to_file(recorded_audio)
 
17
  status_placeholder = st.empty()
18
  status_placeholder.write("Press Mic button to start asking question")
19
  recorded_audio = audio_recorder()
 
 
 
 
20
  if recorded_audio:
21
  status_placeholder.write("Converting audio ...")
22
  data_to_file(recorded_audio)