File size: 1,688 Bytes
068b511
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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