firagne commited on
Commit
c13afb3
·
verified ·
1 Parent(s): 6315643

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -123,7 +123,7 @@ with gr.Blocks() as demo:
123
  outputs=[html,top1_name, top1, top2_name, top2, top3_name, top3, top4_name, top4, top5_name, top5, top6_name, top6, top7_name, top7, top8_name, top8, top9_name, top9, top10_name, top10])
124
  gr.Examples(
125
  examples = [
126
- # "https://www.youtube.com/watch?v=aNzCDt2eidg",
127
  "https://www.youtube.com/watch?v=NBE-uBgtINg",
128
  "https://www.youtube.com/watch?v=5NV6Rdv1a3I",
129
  "https://www.youtube.com/watch?v=OiC1rgCPmUQ",#
@@ -132,7 +132,7 @@ with gr.Blocks() as demo:
132
  inputs = [audio_url_input],
133
  outputs = [html,top1_name, top1, top2_name, top2, top3_name, top3, top4_name, top4, top5_name, top5, top6_name, top6, top7_name, top7, top8_name, top8, top9_name, top9, top10_name, top10],
134
  fn = process_url,
135
- cache_examples=True,
136
  )
137
  analyze_file_btn.click(process_file, inputs=[audio_input_file],
138
  outputs=[top1_name, top1, top2_name, top2, top3_name, top3, top4_name, top4, top5_name, top5, top6_name, top6, top7_name, top7, top8_name, top8, top9_name, top9, top10_name, top10])
 
123
  outputs=[html,top1_name, top1, top2_name, top2, top3_name, top3, top4_name, top4, top5_name, top5, top6_name, top6, top7_name, top7, top8_name, top8, top9_name, top9, top10_name, top10])
124
  gr.Examples(
125
  examples = [
126
+ "https://www.youtube.com/watch?v=aNzCDt2eidg",
127
  "https://www.youtube.com/watch?v=NBE-uBgtINg",
128
  "https://www.youtube.com/watch?v=5NV6Rdv1a3I",
129
  "https://www.youtube.com/watch?v=OiC1rgCPmUQ",#
 
132
  inputs = [audio_url_input],
133
  outputs = [html,top1_name, top1, top2_name, top2, top3_name, top3, top4_name, top4, top5_name, top5, top6_name, top6, top7_name, top7, top8_name, top8, top9_name, top9, top10_name, top10],
134
  fn = process_url,
135
+ cache_examples=False,
136
  )
137
  analyze_file_btn.click(process_file, inputs=[audio_input_file],
138
  outputs=[top1_name, top1, top2_name, top2, top3_name, top3, top4_name, top4, top5_name, top5, top6_name, top6, top7_name, top7, top8_name, top8, top9_name, top9, top10_name, top10])