Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,7 @@ def get_predictions(audio_input):
|
|
| 88 |
# Create the Gradio interface
|
| 89 |
interface = gr.Interface(
|
| 90 |
fn=get_predictions,
|
| 91 |
-
inputs=gr.Audio(label="Input Audio", type="
|
| 92 |
outputs=[
|
| 93 |
gr.Label("Emotion Prediction"),
|
| 94 |
gr.Label("Transcribed Text"),
|
|
|
|
| 88 |
# Create the Gradio interface
|
| 89 |
interface = gr.Interface(
|
| 90 |
fn=get_predictions,
|
| 91 |
+
inputs=gr.Audio(label="Input Audio", type="filepath"),
|
| 92 |
outputs=[
|
| 93 |
gr.Label("Emotion Prediction"),
|
| 94 |
gr.Label("Transcribed Text"),
|