Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def video_generation(
|
|
| 49 |
generator=torch.Generator().manual_seed(42) # Optional seed
|
| 50 |
).frames[0]
|
| 51 |
|
| 52 |
-
output_path = "generated_video.mp4"
|
| 53 |
video_frames[0].save(
|
| 54 |
output_path,
|
| 55 |
save_all=True,
|
|
@@ -58,7 +58,7 @@ def video_generation(
|
|
| 58 |
loop=0
|
| 59 |
)
|
| 60 |
|
| 61 |
-
return
|
| 62 |
|
| 63 |
|
| 64 |
|
|
|
|
| 49 |
generator=torch.Generator().manual_seed(42) # Optional seed
|
| 50 |
).frames[0]
|
| 51 |
|
| 52 |
+
output_path = "MohanaPrasad2002/First_agent_template/generated_video.mp4"
|
| 53 |
video_frames[0].save(
|
| 54 |
output_path,
|
| 55 |
save_all=True,
|
|
|
|
| 58 |
loop=0
|
| 59 |
)
|
| 60 |
|
| 61 |
+
return f"the video saved at {output_path}"
|
| 62 |
|
| 63 |
|
| 64 |
|