From 7a362f2f25141859a57668bac470b52792fe858e Mon Sep 17 00:00:00 2001 From: Julian Freeman Date: Thu, 26 Jun 2025 14:13:50 -0400 Subject: [PATCH] change listen address to all --- .gitignore | 2 ++ main.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 36b13f1..fca8d84 100644 --- a/.gitignore +++ b/.gitignore @@ -174,3 +174,5 @@ cython_debug/ # PyPI configuration file .pypirc + +/static/output/* diff --git a/main.py b/main.py index e73b5e6..e877cbd 100644 --- a/main.py +++ b/main.py @@ -125,4 +125,4 @@ async def remove_bg(files: List[UploadFile] = File(...)): if __name__ == "__main__": import uvicorn - uvicorn.run(app, host="127.0.0.1", port=7310) + uvicorn.run(app, host="0.0.0.0", port=7310)