shukdevdatta123 commited on
Commit
3460d1a
·
verified ·
1 Parent(s): 3a9ddc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -582,9 +582,13 @@ def create_gradio_app():
582
 
583
  return app
584
 
585
- # Main execution
586
- if __name__ == "__main__":
 
587
  app = create_gradio_app()
588
  app.launch(
589
  share=True
590
- )
 
 
 
 
582
 
583
  return app
584
 
585
+ # Main execution with ZeroGPU
586
+ @spaces.GPU
587
+ def main():
588
  app = create_gradio_app()
589
  app.launch(
590
  share=True
591
+ )
592
+
593
+ if __name__ == "__main__":
594
+ main()