Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def run_manim_pre_check(code_str: str) -> (bool, str):
|
|
| 46 |
"""
|
| 47 |
print("🕵️ Running fast pre-check with 'manim -s'...", flush=True)
|
| 48 |
# Using a factor of 0.2 provides a good speedup without being overly aggressive.
|
| 49 |
-
fast_code = modify_animation_times(code_str, factor=0.
|
| 50 |
|
| 51 |
with open("scene_pre_check.py", "w", encoding="utf-8") as f:
|
| 52 |
f.write(fast_code)
|
|
|
|
| 46 |
"""
|
| 47 |
print("🕵️ Running fast pre-check with 'manim -s'...", flush=True)
|
| 48 |
# Using a factor of 0.2 provides a good speedup without being overly aggressive.
|
| 49 |
+
fast_code = modify_animation_times(code_str, factor=0.1)
|
| 50 |
|
| 51 |
with open("scene_pre_check.py", "w", encoding="utf-8") as f:
|
| 52 |
f.write(fast_code)
|