Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -422,6 +422,8 @@ with gr.Blocks(css=css, title="Virtual Try-On") as Tryon:
|
|
| 422 |
api_name='tryon',
|
| 423 |
concurrency_limit=10
|
| 424 |
)
|
|
|
|
|
|
|
| 425 |
if __name__ == "__main__":
|
| 426 |
port = int(os.environ.get("PORT", 7860))
|
| 427 |
Tryon.launch(
|
|
@@ -429,4 +431,4 @@ if __name__ == "__main__":
|
|
| 429 |
server_port=port,
|
| 430 |
share=False,
|
| 431 |
debug=False
|
| 432 |
-
)
|
|
|
|
| 422 |
api_name='tryon',
|
| 423 |
concurrency_limit=10
|
| 424 |
)
|
| 425 |
+
|
| 426 |
+
# Launch the app
|
| 427 |
if __name__ == "__main__":
|
| 428 |
port = int(os.environ.get("PORT", 7860))
|
| 429 |
Tryon.launch(
|
|
|
|
| 431 |
server_port=port,
|
| 432 |
share=False,
|
| 433 |
debug=False
|
| 434 |
+
)
|