Boka73 commited on
Commit
b35c850
·
verified ·
1 Parent(s): 63f798d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,4 +104,4 @@ demo = build_interface()
104
 
105
  if __name__ == "__main__":
106
  # For local testing; on HF Spaces, just exposing `demo` is enough.
107
- demo.launch()
 
104
 
105
  if __name__ == "__main__":
106
  # For local testing; on HF Spaces, just exposing `demo` is enough.
107
+ demo.launch(server_name="0.0.0.0", server_port=int(os.getenv("PORT", 7860)))