Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def run_assistant(audio):
|
|
81 |
with gr.Blocks() as demo:
|
82 |
gr.Markdown("# Voice-Activated Restaurant Assistant")
|
83 |
with gr.Row():
|
84 |
-
audio_input = gr.Audio(
|
85 |
text_output = gr.Textbox(label="Transcription")
|
86 |
audio_output = gr.Audio(label="Assistant Response")
|
87 |
|
|
|
81 |
with gr.Blocks() as demo:
|
82 |
gr.Markdown("# Voice-Activated Restaurant Assistant")
|
83 |
with gr.Row():
|
84 |
+
audio_input = gr.Audio(type="filepath", label="Speak Now")
|
85 |
text_output = gr.Textbox(label="Transcription")
|
86 |
audio_output = gr.Audio(label="Assistant Response")
|
87 |
|