Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def voice_assistant(audio_file):
|
|
| 72 |
# Gradio Interface
|
| 73 |
iface = gr.Interface(
|
| 74 |
fn=voice_assistant,
|
| 75 |
-
inputs=gr.Audio(
|
| 76 |
outputs="text",
|
| 77 |
title="DynamicMenuApp Voice Assistant",
|
| 78 |
description=(
|
|
|
|
| 72 |
# Gradio Interface
|
| 73 |
iface = gr.Interface(
|
| 74 |
fn=voice_assistant,
|
| 75 |
+
inputs=gr.Audio(type="filepath"), # Corrected syntax for Gradio Audio
|
| 76 |
outputs="text",
|
| 77 |
title="DynamicMenuApp Voice Assistant",
|
| 78 |
description=(
|