Spaces:
Sleeping
Sleeping
Commit ·
94abbf2
1
Parent(s): e588341
updated config.py, requirements.txt
Browse files- app/core/config.py +1 -1
- requirements.txt +1 -0
app/core/config.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from
|
| 2 |
|
| 3 |
class Settings(BaseSettings):
|
| 4 |
"""
|
|
|
|
| 1 |
+
from pydantic_settings import BaseSettings
|
| 2 |
|
| 3 |
class Settings(BaseSettings):
|
| 4 |
"""
|
requirements.txt
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
fastapi
|
| 2 |
uvicorn[standard]
|
| 3 |
pydantic
|
|
|
|
| 4 |
python-multipart
|
| 5 |
torch
|
| 6 |
Pillow
|
|
|
|
| 1 |
fastapi
|
| 2 |
uvicorn[standard]
|
| 3 |
pydantic
|
| 4 |
+
pydantic-settings
|
| 5 |
python-multipart
|
| 6 |
torch
|
| 7 |
Pillow
|