Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def classify_audio(audio):
|
|
| 50 |
|
| 51 |
gr.Interface(
|
| 52 |
fn=classify_audio,
|
| 53 |
-
inputs=gr.inputs.Audio(source="upload", type="
|
| 54 |
outputs=[
|
| 55 |
gr.outputs.Textbox(label="Transcription"),
|
| 56 |
gr.outputs.Textbox(label="Classification"),
|
|
|
|
| 50 |
|
| 51 |
gr.Interface(
|
| 52 |
fn=classify_audio,
|
| 53 |
+
inputs=gr.inputs.Audio(source="upload", type="numpy"),
|
| 54 |
outputs=[
|
| 55 |
gr.outputs.Textbox(label="Transcription"),
|
| 56 |
gr.outputs.Textbox(label="Classification"),
|