Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -295,7 +295,7 @@ if __name__=="__main__":
|
|
295 |
demo.queue().launch(
|
296 |
show_api=False,
|
297 |
ssr_mode=False, # ← disable experimental SSR
|
298 |
-
|
299 |
server_name="0.0.0.0", # optional, but explicit
|
300 |
server_port=int(os.getenv("PORT", 7860)),
|
301 |
)
|
|
|
295 |
demo.queue().launch(
|
296 |
show_api=False,
|
297 |
ssr_mode=False, # ← disable experimental SSR
|
298 |
+
auth=(os.getenv("APP_USER",""), os.getenv("APP_PASS","")),
|
299 |
server_name="0.0.0.0", # optional, but explicit
|
300 |
server_port=int(os.getenv("PORT", 7860)),
|
301 |
)
|