Spaces:
Sleeping
Sleeping
Download app/db/models.py from AP314159/Youtube-AI-Analyzer: direct link, hf CLI and curl.
- Browser
- Download file 333 Bytes
-
https://huggingface.co/spaces/AP314159/Youtube-AI-Analyzer/resolve/main/app/db/models.py
- Command line
-
hf download hf://spaces/AP314159/Youtube-AI-Analyzer/app/db/models.py
-
curl -L -o models.py https://huggingface.co/spaces/AP314159/Youtube-AI-Analyzer/resolve/main/app/db/models.py
333 Bytes
| from sqlalchemy import Column, String, Text | |
| from .database import Base | |
| class VideoStore(Base): | |
| __tablename__ = "video_store" | |
| video_id = Column(String, primary_key=True, index=True) | |
| transcript = Column(Text, nullable=True) | |
| video_summary = Column(Text, nullable=True) | |
| comment_summary = Column(Text, nullable=True) |