mgokg commited on
Commit
573de21
·
verified ·
1 Parent(s): 9c158ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,12 +95,12 @@ with gr.Blocks(css=custom_css) as demo:
95
  #details_output = gr.Textbox(label="Ausgabe", value = f"\n\n\n\n")
96
  with gr.Row():
97
  ort_input = gr.Textbox(label="prompt", placeholder="ask anything...")
98
- audio_input=gr.Microphone(type="filepath")
99
  with gr.Row():
100
  button = gr.Button("Senden")
101
 
102
  # Connect the button to the function
103
- button.click(fn=websearch, inputs=[ort_input, audio_input], outputs=details_output)
104
 
105
  # Launch the Gradio application
106
  demo.launch()
 
95
  #details_output = gr.Textbox(label="Ausgabe", value = f"\n\n\n\n")
96
  with gr.Row():
97
  ort_input = gr.Textbox(label="prompt", placeholder="ask anything...")
98
+ #audio_input=gr.Microphone(type="filepath")
99
  with gr.Row():
100
  button = gr.Button("Senden")
101
 
102
  # Connect the button to the function
103
+ button.click(fn=websearch, inputs=ort_input, outputs=details_output)
104
 
105
  # Launch the Gradio application
106
  demo.launch()