Refresh README project overview
Browse filesCo-authored-by: Codex <codex@openai.com>
README.md
CHANGED
|
@@ -47,6 +47,10 @@ Built for the [Hugging Face **Build Small Hackathon 2026**](https://huggingface.
|
|
| 47 |
**DEMO Video embedded (if not present, please click the [Video Demo](https://youtu.be/5_s4C5dSql8) link):**
|
| 48 |
<video src="https://huggingface.co/spaces/build-small-hackathon/math-to-visual-agent/resolve/main/assets/examples/SciVisual-Agent-Demo_Video.mp4" controls width="720" autoplay></video>
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
## System dependencies
|
| 51 |
|
| 52 |
This Space uses `packages.txt` to install system packages required by ManimCE,
|
|
@@ -181,13 +185,20 @@ SCIVISUAL_LOAD_IN_4BIT=1
|
|
| 181 |
|
| 182 |
The app is built around the feedback loop: generate code, render it, inspect the result, and repair it when needed.
|
| 183 |
|
| 184 |
-
|
|
|
|
|
|
|
|
|
|
| 185 |
|
| 186 |
The important design choice is that rendering is not treated as the end of the process. It becomes feedback. If Manim fails, the app captures the exact error and asks the model to produce a corrected version.
|
| 187 |
|
| 188 |
In the next version, we want to add a planning phase before code generation:
|
| 189 |
|
| 190 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 191 |
|
| 192 |
## Acknowledgements
|
| 193 |
|
|
|
|
| 47 |
**DEMO Video embedded (if not present, please click the [Video Demo](https://youtu.be/5_s4C5dSql8) link):**
|
| 48 |
<video src="https://huggingface.co/spaces/build-small-hackathon/math-to-visual-agent/resolve/main/assets/examples/SciVisual-Agent-Demo_Video.mp4" controls width="720" autoplay></video>
|
| 49 |
|
| 50 |
+
SciVisual-Agent is a Hugging Face Space that turns math and physics prompts into animated Manim videos. The idea is simple: describe a concept in natural language, then get back a visual explanation that moves.
|
| 51 |
+
|
| 52 |
+
We built it for the Build Small hackathon as a compact virtual animation lab for scientific ideas. It combines a fine-tuned code generation model, ManimCE rendering, LaTeX support, and a self-correction loop that can repair generated code when rendering fails.
|
| 53 |
+
|
| 54 |
## System dependencies
|
| 55 |
|
| 56 |
This Space uses `packages.txt` to install system packages required by ManimCE,
|
|
|
|
| 185 |
|
| 186 |
The app is built around the feedback loop: generate code, render it, inspect the result, and repair it when needed.
|
| 187 |
|
| 188 |
+
<figure>
|
| 189 |
+
<img src="https://huggingface.co/spaces/build-small-hackathon/math-to-visual-agent/resolve/main/assets/diagram.png" alt="Current System Flow" width="540">
|
| 190 |
+
<figcaption>Current system flow</figcaption>
|
| 191 |
+
</figure>
|
| 192 |
|
| 193 |
The important design choice is that rendering is not treated as the end of the process. It becomes feedback. If Manim fails, the app captures the exact error and asks the model to produce a corrected version.
|
| 194 |
|
| 195 |
In the next version, we want to add a planning phase before code generation:
|
| 196 |
|
| 197 |
+
<figure>
|
| 198 |
+
<img src="https://huggingface.co/spaces/build-small-hackathon/math-to-visual-agent/resolve/main/assets/diagram-nextstep.png" alt="Improved System Flow" width="440">
|
| 199 |
+
<figcaption>Improved system flow</figcaption>
|
| 200 |
+
</figure>
|
| 201 |
+
|
| 202 |
|
| 203 |
## Acknowledgements
|
| 204 |
|