m7n commited on
Commit
c90a20e
·
1 Parent(s): 2f5149e

added even more zerogpu

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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)