Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def trigger_plots(f2f_distance_plot, hashes, threshold):
|
|
85 |
def set_visible():
|
86 |
return gradio.update(visible=True)
|
87 |
|
88 |
-
demo = gradio.Blocks(
|
89 |
|
90 |
with demo:
|
91 |
with gradio.Row():
|
@@ -113,4 +113,4 @@ with demo:
|
|
113 |
threshold.change(fn=plot_hash_distance, inputs=[hashes, threshold], outputs=f2f_distance_plot)
|
114 |
btn_slides.click(fn=get_slides, inputs=[vid, hashes, threshold], outputs=[slideshow])
|
115 |
|
116 |
-
demo.launch(
|
|
|
85 |
def set_visible():
|
86 |
return gradio.update(visible=True)
|
87 |
|
88 |
+
demo = gradio.Blocks(cache_examples=False)
|
89 |
|
90 |
with demo:
|
91 |
with gradio.Row():
|
|
|
113 |
threshold.change(fn=plot_hash_distance, inputs=[hashes, threshold], outputs=f2f_distance_plot)
|
114 |
btn_slides.click(fn=get_slides, inputs=[vid, hashes, threshold], outputs=[slideshow])
|
115 |
|
116 |
+
demo.launch()
|