Spaces:
Sleeping
Sleeping
Commit
·
38a4e74
1
Parent(s):
371f28f
share=True
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ def auth_function(username, password):
|
|
201 |
if os.getenv("SPACE_ID"):
|
202 |
# We're running on HF Spaces
|
203 |
iface.launch(
|
204 |
-
auth=auth_function, server_name="0.0.0.0", server_port=7860, share=
|
205 |
)
|
206 |
else:
|
207 |
# We're running locally
|
|
|
201 |
if os.getenv("SPACE_ID"):
|
202 |
# We're running on HF Spaces
|
203 |
iface.launch(
|
204 |
+
auth=auth_function, server_name="0.0.0.0", server_port=7860, share=True
|
205 |
)
|
206 |
else:
|
207 |
# We're running locally
|