Spaces:
Runtime error
Runtime error
PierreHanna
commited on
Commit
•
6468b0f
1
Parent(s):
98e790c
Update app.py
Browse files
app.py
CHANGED
@@ -96,8 +96,14 @@ with gr.Blocks() as demo:
|
|
96 |
|
97 |
|
98 |
analyze_url_btn.click(process_url, inputs=[audio_url_input],
|
99 |
-
outputs=[html,top1, top2, top3, top4, top5]
|
100 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
analyze_file_btn.click(process_file, inputs=[audio_input_file],
|
102 |
outputs=[top1, top2, top3, top4, top5])
|
103 |
|
|
|
96 |
|
97 |
|
98 |
analyze_url_btn.click(process_url, inputs=[audio_url_input],
|
99 |
+
outputs=[html,top1, top2, top3, top4, top5])
|
100 |
+
gr.Examples(
|
101 |
+
[["https://www.youtube.com/watch?v=aNzCDt2eidg"]],
|
102 |
+
[audio_url_input],
|
103 |
+
[html,top1, top2, top3, top4, top5],
|
104 |
+
process_url,
|
105 |
+
cache_examples=True,
|
106 |
+
)
|
107 |
analyze_file_btn.click(process_file, inputs=[audio_input_file],
|
108 |
outputs=[top1, top2, top3, top4, top5])
|
109 |
|