Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def process_audio(audio):
|
|
| 44 |
# Create Gradio interface
|
| 45 |
iface = gr.Interface(
|
| 46 |
fn=process_audio,
|
| 47 |
-
inputs=gr.Audio(
|
| 48 |
outputs=["text", "text"],
|
| 49 |
title="ASR and Intent Classification",
|
| 50 |
description="Upload an audio file to get transcription and intent classification."
|
|
|
|
| 44 |
# Create Gradio interface
|
| 45 |
iface = gr.Interface(
|
| 46 |
fn=process_audio,
|
| 47 |
+
inputs=gr.Audio(type="filepath"),
|
| 48 |
outputs=["text", "text"],
|
| 49 |
title="ASR and Intent Classification",
|
| 50 |
description="Upload an audio file to get transcription and intent classification."
|