Spaces:
Sleeping
Sleeping
update type in parameter passing
Browse files
app.py
CHANGED
|
@@ -13,8 +13,8 @@ def main_note(filepath):
|
|
| 13 |
|
| 14 |
demo = gr.Interface(
|
| 15 |
fn= main_note,
|
| 16 |
-
|
| 17 |
-
|
| 18 |
)
|
| 19 |
|
| 20 |
if __name__ == "__main__":
|
|
|
|
| 13 |
|
| 14 |
demo = gr.Interface(
|
| 15 |
fn= main_note,
|
| 16 |
+
inputs = gr.Audio(type="filepath"),
|
| 17 |
+
outputs= "text"
|
| 18 |
)
|
| 19 |
|
| 20 |
if __name__ == "__main__":
|