Fix error in app.py
Browse files
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)
|