Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ with gr.Blocks(title=title) as demo:
|
|
164 |
outputs=[label, local_plot, htext],
|
165 |
fn=main, # Provide the function to run for caching examples
|
166 |
cache_examples=False,
|
167 |
-
|
168 |
)
|
169 |
|
170 |
# Launch the demo
|
|
|
164 |
outputs=[label, local_plot, htext],
|
165 |
fn=main, # Provide the function to run for caching examples
|
166 |
cache_examples=False,
|
167 |
+
run_on_click=True # This might be needed depending on exact Gradio version and desired behavior, but cache_examples=True implies running the function.
|
168 |
)
|
169 |
|
170 |
# Launch the demo
|