Spaces:
Sleeping
Sleeping
kairaamilanii
commited on
Commit
•
80922f5
1
Parent(s):
4cb6aa6
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."
|