Download ai-bot/database/session.py from djaydenvanhattem3/Atlas77: direct link, hf CLI and curl.
- Browser
- Download file 191 Bytes
-
https://huggingface.co/djaydenvanhattem3/Atlas77/resolve/main/ai-bot/database/session.py
- Command line
-
hf download hf://djaydenvanhattem3/Atlas77/ai-bot/database/session.py
-
curl -L -o session.py https://huggingface.co/djaydenvanhattem3/Atlas77/resolve/main/ai-bot/database/session.py
191 Bytes
| from sqlalchemy import create_engine | |
| from sqlalchemy.orm import sessionmaker | |
| DATABASE_URL = "sqlite:///./ai.db" | |
| engine = create_engine(DATABASE_URL) | |
| SessionLocal = sessionmaker(bind=engine) |