Spaces:
Sleeping
Sleeping
still fixing build error
Browse files
app.py
CHANGED
@@ -183,8 +183,8 @@ auth_username = os.getenv("AUTH_USERNAME", "admin")
|
|
183 |
auth_password = os.getenv("AUTH_PASSWORD", "admin")
|
184 |
|
185 |
# Launch with authentication
|
186 |
-
demo.launch(
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
)
|
|
|
183 |
auth_password = os.getenv("AUTH_PASSWORD", "admin")
|
184 |
|
185 |
# Launch with authentication
|
186 |
+
demo.queue().launch(
|
187 |
+
share=True, # Required for Hugging Face Spaces
|
188 |
+
auth=(auth_username, auth_password) if auth_username and auth_password else None,
|
189 |
+
ssr_mode=False
|
190 |
)
|