Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
moriire
/
OpenGenAI
like
0
Sleeping
App
Files
Files
Community
6bec8de
OpenGenAI
/
app
/
config.py
moriire
latest
7fd5271
9 months ago
raw
Copy download link
history
blame
Safe
223 Bytes
import
os
#from pydantic import BaseSettings, Field
from
pydantic_settings
import
BaseSettings
from
pydantic
import
Field
class
Settings
(
BaseSettings
):
db_url:
str
= Field(..., env=
'DATABASE_URL'
)
settings = Settings()