Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -223,6 +223,10 @@ def build_gradio_app():
|
|
| 223 |
|
| 224 |
if __name__=="__main__":
|
| 225 |
demo = build_gradio_app()
|
| 226 |
-
demo.queue().launch(
|
| 227 |
-
|
| 228 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 223 |
|
| 224 |
if __name__=="__main__":
|
| 225 |
demo = build_gradio_app()
|
| 226 |
+
demo.queue().launch(
|
| 227 |
+
show_api=False,
|
| 228 |
+
ssr_mode=False, # ← disable experimental SSR
|
| 229 |
+
auth=(os.getenv("APP_USER",""), os.getenv("APP_PASS","")),
|
| 230 |
+
server_name="0.0.0.0", # optional, but explicit
|
| 231 |
+
server_port=int(os.getenv("PORT", 7860)),
|
| 232 |
+
)
|