Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ for i in os.listdir(path):
|
|
| 55 |
audio_path.append(path+i)
|
| 56 |
|
| 57 |
iface = gradio.Interface(fn=recognizer,
|
| 58 |
-
inputs =
|
| 59 |
auto_submit=True,
|
| 60 |
auto_submit_duration=5,
|
| 61 |
outputs = label)
|
|
|
|
| 55 |
audio_path.append(path+i)
|
| 56 |
|
| 57 |
iface = gradio.Interface(fn=recognizer,
|
| 58 |
+
inputs = gradio.Audio(type="filepath"),
|
| 59 |
auto_submit=True,
|
| 60 |
auto_submit_duration=5,
|
| 61 |
outputs = label)
|