iamudit02 commited on
Commit
cbb9cff
·
1 Parent(s): 71fe546

fix(hf): remove unsupported ssr parameter from demo.launch()

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -55,10 +55,8 @@ os.makedirs(settings.STORAGE_DIR, exist_ok=True)
55
  demo.app.mount("/storage", StaticFiles(directory=settings.STORAGE_DIR), name="storage")
56
 
57
  if __name__ == "__main__":
58
- # ssr=False disables Gradio 5's experimental Node.js SSR proxy which fails in Space containers
59
  demo.launch(
60
  server_name="0.0.0.0",
61
- server_port=7860,
62
- ssr=False,
63
- show_error=True
64
  )
 
 
55
  demo.app.mount("/storage", StaticFiles(directory=settings.STORAGE_DIR), name="storage")
56
 
57
  if __name__ == "__main__":
 
58
  demo.launch(
59
  server_name="0.0.0.0",
60
+ server_port=7860
 
 
61
  )
62
+