Spaces:
Sleeping
Sleeping
change port/host
Browse files
app.py
CHANGED
@@ -147,8 +147,9 @@ with gr.Blocks(css=css) as demo:
|
|
147 |
outputs = [result]
|
148 |
)
|
149 |
|
150 |
-
port = 19876
|
151 |
-
hostname = os.uname()[1]
|
152 |
-
print(f"launch http://{hostname}:{port}")
|
153 |
|
154 |
-
demo.queue().launch(server_name="0.0.0.0", server_port=port)
|
|
|
|
147 |
outputs = [result]
|
148 |
)
|
149 |
|
150 |
+
# port = 19876
|
151 |
+
# hostname = os.uname()[1]
|
152 |
+
# print(f"launch http://{hostname}:{port}")
|
153 |
|
154 |
+
# demo.queue().launch(server_name="0.0.0.0", server_port=port)
|
155 |
+
demo.queue().launch()
|