Spaces:
Runtime error
Runtime error
Commit Β·
6f33556
1
Parent(s): 49fa56b
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,16 +98,16 @@ with gr.Blocks() as demo:
|
|
| 98 |
analyze_url_btn.click(process_url, inputs=[audio_url_input],
|
| 99 |
outputs=[html,top1, top2, top3, top4, top5])
|
| 100 |
gr.Examples(
|
| 101 |
-
[
|
| 102 |
#"https://www.youtube.com/watch?v=aNzCDt2eidg",
|
| 103 |
#"https://www.youtube.com/watch?v=NBE-uBgtINg",
|
| 104 |
#"https://www.youtube.com/watch?v=5NV6Rdv1a3I",
|
| 105 |
#"https://www.youtube.com/watch?v=OiC1rgCPmUQ",
|
| 106 |
#"https://www.youtube.com/watch?v=dRX0wDNK6S4",
|
| 107 |
"https://www.youtube.com/watch?v=Guzu9aAeDIc"],
|
| 108 |
-
[audio_url_input],
|
| 109 |
-
[html,top1, top2, top3, top4, top5],
|
| 110 |
-
process_url,
|
| 111 |
cache_examples=True,
|
| 112 |
)
|
| 113 |
analyze_file_btn.click(process_file, inputs=[audio_input_file],
|
|
|
|
| 98 |
analyze_url_btn.click(process_url, inputs=[audio_url_input],
|
| 99 |
outputs=[html,top1, top2, top3, top4, top5])
|
| 100 |
gr.Examples(
|
| 101 |
+
examples = [
|
| 102 |
#"https://www.youtube.com/watch?v=aNzCDt2eidg",
|
| 103 |
#"https://www.youtube.com/watch?v=NBE-uBgtINg",
|
| 104 |
#"https://www.youtube.com/watch?v=5NV6Rdv1a3I",
|
| 105 |
#"https://www.youtube.com/watch?v=OiC1rgCPmUQ",
|
| 106 |
#"https://www.youtube.com/watch?v=dRX0wDNK6S4",
|
| 107 |
"https://www.youtube.com/watch?v=Guzu9aAeDIc"],
|
| 108 |
+
inputs = [audio_url_input],
|
| 109 |
+
outputs = [html,top1, top2, top3, top4, top5],
|
| 110 |
+
fn = process_url,
|
| 111 |
cache_examples=True,
|
| 112 |
)
|
| 113 |
analyze_file_btn.click(process_file, inputs=[audio_input_file],
|