Spaces:
Runtime error
Runtime error
Update web.py
Browse files
web.py
CHANGED
@@ -62,5 +62,9 @@ with gr.Blocks(css=css) as demo:
|
|
62 |
|
63 |
submit_btn.click(create_captions_rich, [input_img], [output])
|
64 |
|
65 |
-
# 포트 변경
|
66 |
-
demo.launch(
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
submit_btn.click(create_captions_rich, [input_img], [output])
|
64 |
|
65 |
+
# 포트 변경 및 launch 수정
|
66 |
+
demo.launch(
|
67 |
+
server_name="0.0.0.0",
|
68 |
+
server_port=int(os.getenv("GRADIO_SERVER_PORT", 7861)),
|
69 |
+
inbrowser=True
|
70 |
+
)
|