Spaces:
Runtime error
Runtime error
Upload 5 files
Browse files- TTS_F_LA_E_7682468.wav +0 -0
- TTS_M_LA_E_3371601.wav +0 -0
- TTS_M_LA_E_7056254.wav +0 -0
- app.py +2 -1
TTS_F_LA_E_7682468.wav
ADDED
|
Binary file (62.7 kB). View file
|
|
|
TTS_M_LA_E_3371601.wav
ADDED
|
Binary file (45.9 kB). View file
|
|
|
TTS_M_LA_E_7056254.wav
ADDED
|
Binary file (76.8 kB). View file
|
|
|
app.py
CHANGED
|
@@ -25,9 +25,10 @@ interface_options = {
|
|
| 25 |
"description": "The audio classifier for those who are the best and only want and require the best",
|
| 26 |
# Audio from validation file
|
| 27 |
"allow_flagging": "never"
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
demo = Interface(
|
| 31 |
-
fn=classify_audio, inputs= Audio(type="filepath"), outputs=[Label(), Number()], **interface_options
|
| 32 |
)
|
| 33 |
demo.launch(debug=False)
|
|
|
|
| 25 |
"description": "The audio classifier for those who are the best and only want and require the best",
|
| 26 |
# Audio from validation file
|
| 27 |
"allow_flagging": "never"
|
| 28 |
+
|
| 29 |
}
|
| 30 |
|
| 31 |
demo = Interface(
|
| 32 |
+
fn=classify_audio, inputs= Audio(type="filepath"), outputs=[Label(), Number()], examples=[["TTS_M_LA_E_7056254.wav", "TTS_M_LA_E_3371601.wav", "TTS_M_LA_E_7056254.wav"]], **interface_options
|
| 33 |
)
|
| 34 |
demo.launch(debug=False)
|