Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ bases = {
|
|
22 |
"epiCRealism": "emilianJR/epiCRealism"
|
23 |
}
|
24 |
step_loaded = None
|
25 |
-
base_loaded = "
|
26 |
motion_loaded = None
|
27 |
|
28 |
# Ensure model and scheduler are initialized in GPU-enabled function
|
@@ -84,7 +84,7 @@ def generate_image(prompt, base, motion, step, progress=gr.Progress()):
|
|
84 |
|
85 |
name = str(uuid.uuid4()).replace("-", "")
|
86 |
video_path = f"/tmp/{name}.mp4"
|
87 |
-
export_to_video(output.frames[0],
|
88 |
|
89 |
audio_path = tango2(prompt)
|
90 |
final_video_path = fuse_together(audio_path, video_path)
|
|
|
22 |
"epiCRealism": "emilianJR/epiCRealism"
|
23 |
}
|
24 |
step_loaded = None
|
25 |
+
base_loaded = "epiCRealism"
|
26 |
motion_loaded = None
|
27 |
|
28 |
# Ensure model and scheduler are initialized in GPU-enabled function
|
|
|
84 |
|
85 |
name = str(uuid.uuid4()).replace("-", "")
|
86 |
video_path = f"/tmp/{name}.mp4"
|
87 |
+
export_to_video(output.frames[0], video_path, fps=10)
|
88 |
|
89 |
audio_path = tango2(prompt)
|
90 |
final_video_path = fuse_together(audio_path, video_path)
|