Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def process_audio(audio):
|
|
| 35 |
# Gradio interface
|
| 36 |
with gr.Blocks() as demo:
|
| 37 |
gr.Markdown("# AI Support Agent: Car Dealership")
|
| 38 |
-
audio_input = gr.Audio(label="Speak to the Agent") #
|
| 39 |
text_output = gr.Textbox(label="Agent Response")
|
| 40 |
audio_output = gr.Audio(label="Listen to Response")
|
| 41 |
btn = gr.Button("Submit")
|
|
|
|
| 35 |
# Gradio interface
|
| 36 |
with gr.Blocks() as demo:
|
| 37 |
gr.Markdown("# AI Support Agent: Car Dealership")
|
| 38 |
+
audio_input = gr.Audio(label="Speak to the Agent") # No 'type' parameter needed
|
| 39 |
text_output = gr.Textbox(label="Agent Response")
|
| 40 |
audio_output = gr.Audio(label="Listen to Response")
|
| 41 |
btn = gr.Button("Submit")
|