Spaces:
Running on Zero
Running on Zero
A newer version of the Gradio SDK is available: 6.18.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