Spaces:
Build error
Build error
Download models.py from sp103107/growing-guide: direct link, hf CLI and curl.
- Browser
- Download file 626 Bytes
-
https://huggingface.co/spaces/sp103107/growing-guide/resolve/main/models.py
- Command line
-
hf download hf://spaces/sp103107/growing-guide/models.py
-
curl -L -o models.py https://huggingface.co/spaces/sp103107/growing-guide/resolve/main/models.py
626 Bytes
| from sqlalchemy import Column, Integer, String, Float, ForeignKey, Enum, Text | |
| from sqlalchemy.orm import relationship, declarative_base | |
| Base = declarative_base() | |
| class GrowingGuide(Base): | |
| __tablename__ = 'growing_guides' | |
| id = Column(Integer, primary_key=True) | |
| strain_name = Column(String(100), nullable=False) | |
| difficulty = Column(String(50)) | |
| total_time_weeks = Column(Integer) | |
| grow_environment = Column(Text) | |
| stages = Column(Text) | |
| nutrients = Column(Text) | |
| training_techniques = Column(Text) | |
| tips_and_tricks = Column(Text) | |
| class GrowingGuide: | |
| def __init__(self): | |
| pass |