Spaces:
Running
Running
Update app.py
Browse files
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=
|
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()
|