Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
moriire/OpenGenAI
moriire
/
MedAI
like
1
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
5169801
MedAI
/
config.py
moriire
Update config.py
5169801
verified
9 months ago
raw
Copy download link
history
blame
204 Bytes
import
os
#from pydantic import BaseSettings, Field
from
pydantic_settings
import
BaseSettings, Field
class
Settings
(
BaseSettings
):
db_url:
str
= Field(..., env=
'DATABASE_URL'
)
settings = Settings()