更新图片保存位置,增加pyproject.toml
This commit is contained in:
parent
cd2a6ea74c
commit
c5df876f4a
19
apps/rmbg/pyproject.toml
Normal file
19
apps/rmbg/pyproject.toml
Normal file
@ -0,0 +1,19 @@
|
||||
[project]
|
||||
name = "rmbg"
|
||||
version = "1.0.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"fastapi>=0.124.4",
|
||||
"uvicorn[standard]>=0.24.0",
|
||||
"pydantic-settings>=2.0.0",
|
||||
"python-multipart>=0.0.6",
|
||||
"Pillow>=10.0.0",
|
||||
"torch>=2.0.0",
|
||||
"torchvision>=0.15.0",
|
||||
"transformers>=4.30.0",
|
||||
"httpx>=0.24.0",
|
||||
"aiohttp>=3.8.0",
|
||||
"einops>=0.6.0",
|
||||
"kornia>=0.7.0",
|
||||
"timm>=0.9.0",
|
||||
]
|
||||
@ -17,9 +17,9 @@ class Settings(BaseSettings):
|
||||
upload_url: str = "http://images.jingrow.com:8080/api/v1/image"
|
||||
|
||||
# 图片保存配置
|
||||
save_dir: str = "../jfile/files"
|
||||
save_dir: str = "/home/www/public/files"
|
||||
# Japi 静态资源下载URL
|
||||
download_url: str = "https://api.jingrow.com/files"
|
||||
download_url: str = "http://files.jingrow.com/files"
|
||||
|
||||
# Jingrow Jcloud API 配置
|
||||
jingrow_api_url: str = "https://cloud.jingrow.com"
|
||||
|
||||
1890
apps/rmbg/uv.lock
generated
Normal file
1890
apps/rmbg/uv.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user