Spaces:
Runtime error
Runtime error
Download app/models.py from ismaileghazi/test: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/spaces/ismaileghazi/test/resolve/main/app/models.py
- Command line
-
hf download hf://spaces/ismaileghazi/test/app/models.py
-
curl -L -o models.py https://huggingface.co/spaces/ismaileghazi/test/resolve/main/app/models.py
299 Bytes
| from sqlalchemy import Column, Integer, String | |
| from .database import Base | |
| class User(Base): | |
| __tablename__ = "users" | |
| id = Column(Integer, primary_key=True, index=True) | |
| username = Column(String, unique=True, index=True, nullable=False) | |
| password_hash = Column(String, nullable=False) | |