Update app.py
Browse files
app.py
CHANGED
@@ -43,13 +43,13 @@ def predict(path, sampling_rate):
|
|
43 |
|
44 |
|
45 |
demo = gr.Interface(
|
46 |
-
fn=
|
47 |
inputs=gr.Audio(source="upload", type="filepath"),
|
48 |
-
outputs=
|
49 |
-
title=
|
50 |
-
description=description,
|
51 |
-
examples=examples,
|
52 |
-
allow_flagging="never"
|
53 |
)
|
54 |
|
55 |
if __name__ == "__main__":
|
|
|
43 |
|
44 |
|
45 |
demo = gr.Interface(
|
46 |
+
fn=predict,
|
47 |
inputs=gr.Audio(source="upload", type="filepath"),
|
48 |
+
outputs="text"
|
49 |
+
title="Sentiment anlysis",
|
50 |
+
# description=description,
|
51 |
+
# examples=examples,
|
52 |
+
# allow_flagging="never"
|
53 |
)
|
54 |
|
55 |
if __name__ == "__main__":
|