Spaces:
Running
Running
Merge pull request #6 from freQuensy23-coder/codex/update-setup-scripts-to-support-manimml
Browse files- README.md +7 -1
- demo.py +1 -1
- packages.txt +2 -1
- requirements.txt +2 -1
README.md
CHANGED
@@ -44,4 +44,10 @@ Create beautiful explanatory animations from simple text prompts using AI and Ma
|
|
44 |
Set your Gemini API key as an environment variable:
|
45 |
```bash
|
46 |
export GEMINI_API_KEY="your_api_key_here"
|
47 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
Set your Gemini API key as an environment variable:
|
45 |
```bash
|
46 |
export GEMINI_API_KEY="your_api_key_here"
|
47 |
+
```
|
48 |
+
|
49 |
+
Install dependencies (includes **manim-ml** for ML visualizations):
|
50 |
+
```bash
|
51 |
+
pip install -r requirements.txt
|
52 |
+
```
|
53 |
+
You can explore additional examples in [Google's ManimML code samples](https://github.com/google/manim-ml/tree/main/examples).
|
demo.py
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
|
16 |
Запуск:
|
17 |
```bash
|
18 |
-
pip install --upgrade gradio google-genai manim_video_generator
|
19 |
export GEMINI_API_KEY="YOUR_KEY"
|
20 |
python gradio_manim_gemini_app.py
|
21 |
```
|
|
|
15 |
|
16 |
Запуск:
|
17 |
```bash
|
18 |
+
pip install --upgrade gradio google-genai manim_video_generator manim-ml
|
19 |
export GEMINI_API_KEY="YOUR_KEY"
|
20 |
python gradio_manim_gemini_app.py
|
21 |
```
|
packages.txt
CHANGED
@@ -25,4 +25,5 @@ libopenjp2-7-dev
|
|
25 |
libtiff5-dev
|
26 |
gir1.2-glib-2.0
|
27 |
libgirepository-1.0-1
|
28 |
-
libgtk-3-dev
|
|
|
|
25 |
libtiff5-dev
|
26 |
gir1.2-glib-2.0
|
27 |
libgirepository-1.0-1
|
28 |
+
libgtk-3-dev
|
29 |
+
graphviz
|
requirements.txt
CHANGED
@@ -5,4 +5,5 @@ moviepy==1.0.3
|
|
5 |
loguru
|
6 |
numpy
|
7 |
matplotlib
|
8 |
-
Pillow
|
|
|
|
5 |
loguru
|
6 |
numpy
|
7 |
matplotlib
|
8 |
+
Pillow
|
9 |
+
manim-ml
|