Spaces:
Running
on
Zero
Running
on
Zero
suggestion from Pedro
Browse files
app.py
CHANGED
@@ -47,6 +47,6 @@ with gr.Blocks(css=CUSTOM_CSS) as demo:
|
|
47 |
|
48 |
check = gr.Checkbox(label="Run on GPU")
|
49 |
|
50 |
-
|
51 |
|
52 |
demo.queue().launch(show_api=False)
|
|
|
47 |
|
48 |
check = gr.Checkbox(label="Run on GPU")
|
49 |
|
50 |
+
check.change(run, inputs=[check], outputs=output, every=1)
|
51 |
|
52 |
demo.queue().launch(show_api=False)
|