Update app.py
Browse files
app.py
CHANGED
|
@@ -80,8 +80,9 @@ def predict(file_path,microphone_path):
|
|
| 80 |
gr.Interface(
|
| 81 |
fn=predict,
|
| 82 |
inputs=[
|
| 83 |
-
gr.inputs.Audio(source="upload", type="
|
| 84 |
-
gr.inputs.Audio(source="microphone", type="
|
|
|
|
| 85 |
],
|
| 86 |
outputs="text",
|
| 87 |
title=title,
|
|
|
|
| 80 |
gr.Interface(
|
| 81 |
fn=predict,
|
| 82 |
inputs=[
|
| 83 |
+
# gr.inputs.Audio(source="upload", type="filepath", optional=True),
|
| 84 |
+
# gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
| 85 |
+
"file","file"
|
| 86 |
],
|
| 87 |
outputs="text",
|
| 88 |
title=title,
|