vikramvasudevan commited on
Commit
9fe3a32
·
verified ·
1 Parent(s): fd480f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -7,8 +7,11 @@ if __name__ == "__main__":
7
  # build(
8
  # user_email="petersenclarence@example.org", patient_id="68a4265e04b98fb066f75f78"
9
  # ).queue().launch(favicon_path=SheamiConfig.favicon_path)
 
 
 
10
  build_home_page().queue().launch(
11
- favicon_path=SheamiConfig.favicon_path,
12
  server_name="0.0.0.0",
13
  server_port=int(os.environ.get("PORT", 7860)),
14
  )
 
7
  # build(
8
  # user_email="petersenclarence@example.org", patient_id="68a4265e04b98fb066f75f78"
9
  # ).queue().launch(favicon_path=SheamiConfig.favicon_path)
10
+ print("✅ App built, launching on port", os.environ.get("PORT", 7860))
11
+ os.makedirs(SheamiConfig._output_dir, exist_ok=True)
12
+
13
  build_home_page().queue().launch(
14
+ # favicon_path=SheamiConfig.favicon_path,
15
  server_name="0.0.0.0",
16
  server_port=int(os.environ.get("PORT", 7860)),
17
  )