Francesco commited on
Commit
928e9ad
1 Parent(s): 6295354

comment out audio for faster build time

Browse files
Files changed (2) hide show
  1. app.py +4 -4
  2. 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