Spaces:
Runtime error
Runtime error
Fix reqs
Browse files- index.html +9 -24
index.html
CHANGED
|
@@ -12,8 +12,9 @@
|
|
| 12 |
<body>
|
| 13 |
<div class="container">
|
| 14 |
<header>
|
| 15 |
-
<h1>
|
| 16 |
-
<p class="subtitle">Real-time video classification using state-of-the-art
|
|
|
|
| 17 |
</header>
|
| 18 |
|
| 19 |
<section class="description">
|
|
@@ -24,7 +25,7 @@
|
|
| 24 |
</section>
|
| 25 |
|
| 26 |
<section class="demo">
|
| 27 |
-
<h2>
|
| 28 |
<div class="video-container">
|
| 29 |
<!-- Video will be embedded here -->
|
| 30 |
<div class="video-placeholder">
|
|
@@ -37,33 +38,17 @@
|
|
| 37 |
<h2>Getting Started</h2>
|
| 38 |
<div class="instructions">
|
| 39 |
<h3>1. Clone the Repository</h3>
|
| 40 |
-
<pre><code>git clone https://
|
| 41 |
-
cd
|
| 42 |
|
| 43 |
-
<h3>2.
|
| 44 |
-
<pre><code
|
| 45 |
-
python -m venv .venv
|
| 46 |
-
source .venv/bin/activate # On Windows: .venv\Scripts\activate
|
| 47 |
-
|
| 48 |
-
# Install requirements
|
| 49 |
-
pip install -r demo/requirements.txt</code></pre>
|
| 50 |
|
| 51 |
<h3>3. Run the Demo</h3>
|
| 52 |
-
<pre><code>
|
| 53 |
-
python app.py</code></pre>
|
| 54 |
</div>
|
| 55 |
</section>
|
| 56 |
|
| 57 |
-
<section class="requirements">
|
| 58 |
-
<h2>Requirements</h2>
|
| 59 |
-
<ul>
|
| 60 |
-
<li>Python 3.9+</li>
|
| 61 |
-
<li>PyTorch 2.1+</li>
|
| 62 |
-
<li>CUDA-compatible GPU (recommended)</li>
|
| 63 |
-
<li>Webcam or video input device</li>
|
| 64 |
-
</ul>
|
| 65 |
-
</section>
|
| 66 |
-
|
| 67 |
<footer>
|
| 68 |
<p>Built with ❤️ using <a href="https://huggingface.co/transformers" target="_blank">Hugging Face
|
| 69 |
Transformers</a></p>
|
|
|
|
| 12 |
<body>
|
| 13 |
<div class="container">
|
| 14 |
<header>
|
| 15 |
+
<h1>V-JEPA 2 - Streaming Video Classification</h1>
|
| 16 |
+
<p class="subtitle">Real-time video classification using state-of-the-art V-JEPA 2 model pretrained on
|
| 17 |
+
Something-Something-V2 dataset</p>
|
| 18 |
</header>
|
| 19 |
|
| 20 |
<section class="description">
|
|
|
|
| 25 |
</section>
|
| 26 |
|
| 27 |
<section class="demo">
|
| 28 |
+
<h2>Recorded Demo</h2>
|
| 29 |
<div class="video-container">
|
| 30 |
<!-- Video will be embedded here -->
|
| 31 |
<div class="video-placeholder">
|
|
|
|
| 38 |
<h2>Getting Started</h2>
|
| 39 |
<div class="instructions">
|
| 40 |
<h3>1. Clone the Repository</h3>
|
| 41 |
+
<pre><code>git clone https://huggingface.co/spaces/qubvel-hf/vjepa2-streaming-video-classification
|
| 42 |
+
cd vjepa2-streaming-video-classification</code></pre>
|
| 43 |
|
| 44 |
+
<h3>2. Install requirements</h3>
|
| 45 |
+
<pre><code>pip install -r requirements.txt</code></pre>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
<h3>3. Run the Demo</h3>
|
| 48 |
+
<pre><code>gradio app.py</code></pre>
|
|
|
|
| 49 |
</div>
|
| 50 |
</section>
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
<footer>
|
| 53 |
<p>Built with ❤️ using <a href="https://huggingface.co/transformers" target="_blank">Hugging Face
|
| 54 |
Transformers</a></p>
|