Cristobal299 commited on
Commit
4a55af0
·
verified ·
1 Parent(s): e786720

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,4 +95,4 @@ if __name__ == "__main__":
95
  init_db()
96
  # Use gunicorn for production in Hugging Face Spaces
97
  import subprocess
98
- subprocess.run(["gunicorn", "-b", "0.0.0.0:7860", "app:app"])
 
95
  init_db()
96
  # Use gunicorn for production in Hugging Face Spaces
97
  import subprocess
98
+ app.run(host="0.0.0.0", port=7860)