Spaces:
Running
Running
fixing build errors
Browse files
app.py
CHANGED
@@ -181,6 +181,5 @@ auth_password = os.getenv("AUTH_PASSWORD", "admin")
|
|
181 |
|
182 |
# Launch with authentication
|
183 |
demo.launch(
|
184 |
-
|
185 |
-
auth=(auth_username, auth_password)
|
186 |
)
|
|
|
181 |
|
182 |
# Launch with authentication
|
183 |
demo.launch(
|
184 |
+
auth=(auth_username, auth_password) if auth_username and auth_password else None
|
|
|
185 |
)
|