Spaces:
Runtime error
Runtime error
comment out audio for faster build time
Browse files- app.py +4 -4
- requirements.txt +0 -1
app.py
CHANGED
@@ -58,10 +58,10 @@ Matched Condition: Gastritis
|
|
58 |
msg = gr.Textbox()
|
59 |
msg.submit(run_text_prompt, [msg, chatbot], [msg, chatbot])
|
60 |
|
61 |
-
with gr.Row():
|
62 |
-
audio = gr.Audio(source="microphone", type="filepath")
|
63 |
|
64 |
-
send_audio_button = gr.Button("Send Audio", interactive=True)
|
65 |
-
send_audio_button.click(run_audio_prompt, [audio, chatbot], [audio, chatbot])
|
66 |
|
67 |
demo.launch(debug=True)
|
|
|
58 |
msg = gr.Textbox()
|
59 |
msg.submit(run_text_prompt, [msg, chatbot], [msg, chatbot])
|
60 |
|
61 |
+
# with gr.Row():
|
62 |
+
# audio = gr.Audio(source="microphone", type="filepath")
|
63 |
|
64 |
+
# send_audio_button = gr.Button("Send Audio", interactive=True)
|
65 |
+
# send_audio_button.click(run_audio_prompt, [audio, chatbot], [audio, chatbot])
|
66 |
|
67 |
demo.launch(debug=True)
|
requirements.txt
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
gradio
|
2 |
openai
|
3 |
elevenlabs
|
4 |
-
openai-whisper
|
5 |
python-dotenv
|
|
|
1 |
gradio
|
2 |
openai
|
3 |
elevenlabs
|
|
|
4 |
python-dotenv
|