Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,8 @@ def run_manim(source_code, main_class):
|
|
12 |
|
13 |
input_file_path = f"/tmp/{run_id}.py"
|
14 |
output_file_name = run_id + ".mp4"
|
15 |
-
output_file_path = os.path.join(MANIM_OUT_FOLDER, output_file_name)
|
|
|
16 |
|
17 |
# Save the source code to a temporary file
|
18 |
with open(input_file_path, "w") as f:
|
|
|
12 |
|
13 |
input_file_path = f"/tmp/{run_id}.py"
|
14 |
output_file_name = run_id + ".mp4"
|
15 |
+
#output_file_path = os.path.join(MANIM_OUT_FOLDER, output_file_name)
|
16 |
+
output_file_path = f"/tmp/videos/{run_id}/480p15/{run_id}.mp4"
|
17 |
|
18 |
# Save the source code to a temporary file
|
19 |
with open(input_file_path, "w") as f:
|