Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,7 +107,7 @@ def save_conversation():
|
|
| 107 |
# Gradio Interface
|
| 108 |
iface = gr.Interface(
|
| 109 |
fn=process_order,
|
| 110 |
-
inputs=gr.Audio(
|
| 111 |
outputs=[gr.Textbox(label="Text Response"), gr.Audio(label="Audio Response")],
|
| 112 |
title="Restaurant Voice Assistant",
|
| 113 |
description="Talk to our voice assistant to place your order or ask about the menu!",
|
|
|
|
| 107 |
# Gradio Interface
|
| 108 |
iface = gr.Interface(
|
| 109 |
fn=process_order,
|
| 110 |
+
inputs=gr.Audio(type="filepath"), # No need for "source"
|
| 111 |
outputs=[gr.Textbox(label="Text Response"), gr.Audio(label="Audio Response")],
|
| 112 |
title="Restaurant Voice Assistant",
|
| 113 |
description="Talk to our voice assistant to place your order or ask about the menu!",
|