Spaces:
Running
on
Zero
Running
on
Zero
added even more zerogpu
Browse files
app.py
CHANGED
@@ -647,7 +647,9 @@ with gr.Blocks(theme=theme, css="""
|
|
647 |
queue=False # Important to make the button hide immediately
|
648 |
)
|
649 |
|
650 |
-
|
|
|
|
|
651 |
|
652 |
# Mount and run app
|
653 |
app = gr.mount_gradio_app(app, demo, path="/",ssr_mode=False)
|
|
|
647 |
queue=False # Important to make the button hide immediately
|
648 |
)
|
649 |
|
650 |
+
show_cancel_button.zerogpu = True
|
651 |
+
hide_cancel_button.zerogpu = True
|
652 |
+
predict.zerogpu = True
|
653 |
|
654 |
# Mount and run app
|
655 |
app = gr.mount_gradio_app(app, demo, path="/",ssr_mode=False)
|