|
Download docs/folder-structure.md from build-small-hackathon/tiny-press: direct link, hf CLI and curl.
- Browser
- Download file 1.58 kB
-
https://huggingface.co/spaces/build-small-hackathon/tiny-press/resolve/main/docs/folder-structure.md
- Command line
-
hf download hf://spaces/build-small-hackathon/tiny-press/docs/folder-structure.md
-
curl -L -o folder-structure.md https://huggingface.co/spaces/build-small-hackathon/tiny-press/resolve/main/docs/folder-structure.md
1.58 kB
A newer version of the Gradio SDK is available: 6.29.0
Folder Structure
app/
βββ app.py # Entry point
βββ config.py # All tunable settings
βββ requirements.txt # Pinned Python dependencies
βββ tinypress.db # SQLite DB (auto-created on first run)
β
βββ ui/
β βββ compress_tab.py # Compression UI tab
β βββ history_tab.py # Metrics history tab
β
βββ core/
β βββ compressor.py # Compression pipeline logic
β βββ scorer.py # Semantic similarity scoring
β βββ tokenizer_utils.py # Token counting helpers
β βββ diff.py # Word-level diff + HTML renderer for history view
β
βββ models/
β βββ model_loader.py # Lazy model + embedder loading
β
βββ db/
β βββ schema.sql # SQLite table definitions
β βββ store.py # DB read/write operations
β
βββ docs/ # Project documentation
β βββ architecture.md
β βββ folder-structure.md
β βββ setup.md
β βββ get-started.md
β βββ enhancements.md
β
βββ my-notes/ # Planning notes (not part of the app)
β βββ overall-idea.md
β
βββ claude-grounding/ # Context files for Claude (not part of the app)
βββ hackathon.md
βββ tech-stack.md
βββ about-me.md
π README.md