gtani commited on
Commit
c8109a0
·
verified ·
1 Parent(s): 1fd1f1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
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(show_api=False, share=True,
227
- # require Gradio‐level HTTP auth
228
- auth=(os.getenv("APP_USER",""), os.getenv("APP_PASS","")))
 
 
 
 
 
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
+ )