Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -582,9 +582,13 @@ def create_gradio_app():
|
|
582 |
|
583 |
return app
|
584 |
|
585 |
-
# Main execution
|
586 |
-
|
|
|
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()
|