Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -242,4 +242,4 @@ if __name__ == "__main__":
|
|
242 |
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
243 |
|
244 |
run_button.click(fn=main,inputs=[prompt,prompt2],outputs=result)
|
245 |
-
demo.queue().launch(server_port=os.getenv("CUSTOM_PORT"))
|
|
|
242 |
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
243 |
|
244 |
run_button.click(fn=main,inputs=[prompt,prompt2],outputs=result)
|
245 |
+
demo.queue().launch(server_port=int(os.getenv("CUSTOM_PORT")))
|