Spaces:
Paused
Paused
| Bare Minimum Files for CogVideoX-Interpolation Gradio App | |
| =========================================================== | |
| ESSENTIAL FILES (Must have all): | |
| 1. app.py (7.7KB) | |
| - Main Gradio application | |
| - Handles UI and video generation | |
| 2. requirements.txt (103B) | |
| - Python package dependencies | |
| - Install with: pip install -r requirements.txt | |
| 3. README.md (232B) | |
| - HuggingFace Spaces configuration | |
| - Contains YAML frontmatter for Spaces | |
| 4. cogvideox_interpolation/ (directory) | |
| - pipeline.py (~38KB) | |
| * Core CogVideoX interpolation pipeline | |
| * Custom diffusion model implementation | |
| - datasets.py (~6KB) | |
| * Dataset loading utilities | |
| * Not used in inference but required for imports | |
| OPTIONAL (Helpful but not required): | |
| 5. SETUP.md (3.1KB) | |
| - Quick setup instructions | |
| - Can be deleted after setup | |
| TOTAL SIZE: ~64KB (excluding model weights) | |
| MODEL DOWNLOAD: | |
| - Model auto-downloads on first run (~20GB) | |
| - Model: feizhengcong/CogvideoX-Interpolation | |
| - Downloads to: ~/.cache/huggingface/ | |
| WHAT'S NOT NEEDED: | |
| ✗ Training scripts (finetune.py, finetune.sh) | |
| ✗ Documentation files (CLAUDE.md, GPU_REQUIREMENTS.md, GRADIO_README.md) | |
| ✗ Example cases (cases/ directory) | |
| ✗ Git files (.git, .gitignore) | |
| ✗ Compiled files (__pycache__, *.pyc) | |
| ✗ Original README.md from repo | |
| ✗ requirement.txt (original, uses requirements.txt instead) | |
| TO RUN LOCALLY: | |
| 1. pip install -r requirements.txt | |
| 2. python app.py | |
| 3. Open http://localhost:7860 | |
| TO DEPLOY ON HUGGINGFACE SPACES: | |
| 1. Upload all files in this directory | |
| 2. Select GPU hardware (T4 minimum, A10G recommended) | |
| 3. Space auto-deploys | |
| GPU REQUIREMENTS: | |
| - Minimum: 16GB VRAM | |
| - Recommended: 24GB VRAM |