Spaces:
Running
Running
Update index.html
Browse files- index.html +179 -19
index.html
CHANGED
@@ -1,19 +1,179 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>π» GhostPack: Video Generation Unleashed π</title>
|
7 |
+
<!-- Bootstrap CSS -->
|
8 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
9 |
+
<!-- Custom CSS -->
|
10 |
+
<link rel="stylesheet" href="style.css">
|
11 |
+
<!-- Favicon -->
|
12 |
+
<link rel="icon" href="https://huggingface.co/spaces/ghostai1/GhostPack/resolve/main/ghostpack_logo.png">
|
13 |
+
</head>
|
14 |
+
<body>
|
15 |
+
<!-- Navbar -->
|
16 |
+
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
|
17 |
+
<div class="container">
|
18 |
+
<a class="navbar-brand" href="#">π» GhostPack</a>
|
19 |
+
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
20 |
+
<span class="navbar-toggler-icon"></span>
|
21 |
+
</button>
|
22 |
+
<div class="collapse navbar-collapse" id="navbarNav">
|
23 |
+
<ul class="navbar-nav ms-auto">
|
24 |
+
<li class="nav-item"><a class="nav-link" href="#home">Home</a></li>
|
25 |
+
<li class="nav-item"><a class="nav-link" href="#features">Features</a></li>
|
26 |
+
<li class="nav-item"><a class="nav-link" href="#installation">Installation</a></li>
|
27 |
+
<li class="nav-item"><a class="nav-link" href="#usage">Usage</a></li>
|
28 |
+
<li class="nav-item"><a class="nav-link" href="#optimization">Optimization</a></li>
|
29 |
+
<li class="nav-item"><a class="nav-link" href="#model">Model Card</a></li>
|
30 |
+
</ul>
|
31 |
+
</div>
|
32 |
+
</div>
|
33 |
+
</nav>
|
34 |
+
|
35 |
+
<!-- Hero Section -->
|
36 |
+
<section id="home" class="hero-section text-center text-white">
|
37 |
+
<div class="container">
|
38 |
+
<h1 class="display-3 animate__animated animate__fadeIn">π» GhostPack</h1>
|
39 |
+
<p class="lead animate__animated animate__fadeIn animate__delay-1s">Next-Frame Video Generation Made Practical! π</p>
|
40 |
+
<a href="#installation" class="btn btn-primary btn-lg animate__animated animate__pulse animate__delay-2s">Get Started π οΈ</a>
|
41 |
+
<a href="https://github.com/ghostai1/GhostPack" class="btn btn-outline-light btn-lg animate__animated animate__pulse animate__delay-2s" target="_blank">GitHub π</a>
|
42 |
+
</div>
|
43 |
+
</section>
|
44 |
+
|
45 |
+
<!-- Features Section -->
|
46 |
+
<section id="features" class="py-5 bg-dark text-white">
|
47 |
+
<div class="container">
|
48 |
+
<h2 class="text-center mb-5">β¨ Features</h2>
|
49 |
+
<div class="row">
|
50 |
+
<div class="col-md-4 mb-4">
|
51 |
+
<div class="card bg-secondary text-white h-100">
|
52 |
+
<div class="card-body">
|
53 |
+
<h3 class="card-title">πΉ Progressive Video</h3>
|
54 |
+
<p class="card-text">Generate videos frame-by-frame with smooth transitions using next-frame prediction.</p>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
<div class="col-md-4 mb-4">
|
59 |
+
<div class="card bg-secondary text-white h-100">
|
60 |
+
<div class="card-body">
|
61 |
+
<h3 class="card-title">β‘οΈ Teacache Speed</h3>
|
62 |
+
<p class="card-text">~40% faster generation (~12β15s/frame on RTX 3060) with teacache optimization.</p>
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
<div class="col-md-4 mb-4">
|
67 |
+
<div class="card bg-secondary text-white h-100">
|
68 |
+
<div class="card-body">
|
69 |
+
<h3 class="card-title">π οΈ Laptop-Friendly</h3>
|
70 |
+
<p class="card-text">Runs 13B models on GPUs with β₯6GB VRAM, perfect for RTX 3060 and above.</p>
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
</section>
|
77 |
+
|
78 |
+
<!-- Installation Section -->
|
79 |
+
<section id="installation" class="py-5">
|
80 |
+
<div class="container">
|
81 |
+
<h2 class="text-center mb-5">π οΈ Installation</h2>
|
82 |
+
<p class="text-center lead">GhostPack supports Ubuntu, Windows, and macOS. Ensure >30GB disk space for models.</p>
|
83 |
+
<div class="row">
|
84 |
+
<div class="col-md-4 mb-4">
|
85 |
+
<h3>π§ Ubuntu</h3>
|
86 |
+
<pre><code>git clone https://github.com/ghostai1/GhostPack
|
87 |
+
cd GhostPack
|
88 |
+
chmod +x install_ubuntu.sh
|
89 |
+
./install_ubuntu.sh</code></pre>
|
90 |
+
<p>Requires NVIDIA GPU, Python 3.10, CUDA 12.6.</p>
|
91 |
+
</div>
|
92 |
+
<div class="col-md-4 mb-4">
|
93 |
+
<h3>πͺ Windows</h3>
|
94 |
+
<pre><code>git clone https://github.com/ghostai1/GhostPack
|
95 |
+
cd GhostPack
|
96 |
+
install_windows.bat</code></pre>
|
97 |
+
<p>Models download automatically (>30GB).</p>
|
98 |
+
</div>
|
99 |
+
<div class="col-md-4 mb-4">
|
100 |
+
<h3>π macOS</h3>
|
101 |
+
<pre><code>git clone https://github.com/ghostai1/GhostPack
|
102 |
+
cd GhostPack
|
103 |
+
chmod +x install_macos.sh
|
104 |
+
./install_macos.sh</code></pre>
|
105 |
+
<p>Limited GPU support (M1/M2 slower).</p>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
</section>
|
110 |
+
|
111 |
+
<!-- Usage Section -->
|
112 |
+
<section id="usage" class="py-5 bg-dark text-white">
|
113 |
+
<div class="container">
|
114 |
+
<h2 class="text-center mb-5">πΉ Usage</h2>
|
115 |
+
<ol>
|
116 |
+
<li><strong>Launch GUI Locally</strong>:
|
117 |
+
<pre><code>source ~/ghostpack_venv/venv/bin/activate
|
118 |
+
cd ~/ghostpack_venv
|
119 |
+
python demo_gradio.py --port 5666 --server 0.0.0.0</code></pre>
|
120 |
+
</li>
|
121 |
+
<li><strong>Configure</strong>:
|
122 |
+
<ul>
|
123 |
+
<li>Upload an image.</li>
|
124 |
+
<li>Enter a prompt (e.g., βThe girl dances gracefully, with clear movements, full of charmβ).</li>
|
125 |
+
<li>Enable teacache for speed.</li>
|
126 |
+
<li>Set 15fps, 5s video (~75 frames).</li>
|
127 |
+
</ul>
|
128 |
+
</li>
|
129 |
+
<li><strong>Monitor</strong>: Use <code>nvidia-smi</code> for GPU usage (~80β100% ideal).</li>
|
130 |
+
</ol>
|
131 |
+
</div>
|
132 |
+
</section>
|
133 |
+
|
134 |
+
<!-- Optimization Section -->
|
135 |
+
<section id="optimization" class="py-5">
|
136 |
+
<div class="container">
|
137 |
+
<h2 class="text-center mb-5">β‘οΈ Performance Optimization</h2>
|
138 |
+
<ul>
|
139 |
+
<li><strong>Teacache</strong>: ~40% speed-up (12β15s/frame on RTX 3060).</li>
|
140 |
+
<li><strong>Sage-Attention/Xformers</strong>: 5β10% faster.</li>
|
141 |
+
<li><strong>tcmalloc</strong>: 5β20% memory efficiency.</li>
|
142 |
+
<li><strong>CUDA</strong>:
|
143 |
+
<pre><code>export PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:128
|
144 |
+
export CUDNN_V8_API_ENABLED=1</code></pre>
|
145 |
+
</li>
|
146 |
+
<li><strong>GPU</strong>:
|
147 |
+
<pre><code>sudo nvidia-smi -pm 1</code></pre>
|
148 |
+
</li>
|
149 |
+
</ul>
|
150 |
+
<p>Expected: ~10β15s/frame on RTX 3060 with all tweaks.</p>
|
151 |
+
</div>
|
152 |
+
</section>
|
153 |
+
|
154 |
+
<!-- Model Card Section -->
|
155 |
+
<section id="model" class="py-5 bg-dark text-white">
|
156 |
+
<div class="container">
|
157 |
+
<h2 class="text-center mb-5">Model Card</h2>
|
158 |
+
<ul>
|
159 |
+
<li><strong>Model</strong>: GhostPack-F1 (13B parameters).</li>
|
160 |
+
<li><strong>Repo</strong>: <a href="https://huggingface.co/spaces/ghostai1/GhostPack" target="_blank">Hugging Face</a></li>
|
161 |
+
<li><strong>Files</strong>: >30GB, stored in <code>models/</code> with Git LFS.</li>
|
162 |
+
<li><strong>License</strong>: Apache-2.0.</li>
|
163 |
+
</ul>
|
164 |
+
</div>
|
165 |
+
</section>
|
166 |
+
|
167 |
+
<!-- Footer -->
|
168 |
+
<footer class="bg-dark text-white text-center py-3">
|
169 |
+
<p>π» GhostPack by ghostai1 | <a href="https://github.com/ghostai1/GhostPack" target="_blank">GitHub</a> | <a href="https://huggingface.co/spaces/ghostai1/GhostPack" target="_blank">Hugging Face</a> | Apache-2.0 License</p>
|
170 |
+
</footer>
|
171 |
+
|
172 |
+
<!-- Bootstrap JS and Popper -->
|
173 |
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
|
174 |
+
<!-- Animate.css -->
|
175 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
|
176 |
+
<!-- Custom JS -->
|
177 |
+
<script src="script.js"></script>
|
178 |
+
</body>
|
179 |
+
</html>
|