Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ def create_video(frames, fps, type):
|
|
| 111 |
clip = ImageSequenceClip(frames, fps=fps)
|
| 112 |
clip.write_videofile(f"video_{type}_result.mp4", fps=fps)
|
| 113 |
|
| 114 |
-
return
|
| 115 |
|
| 116 |
|
| 117 |
def run_grounded_sam(input_image, text_prompt, task_type, background_prompt):
|
|
|
|
| 111 |
clip = ImageSequenceClip(frames, fps=fps)
|
| 112 |
clip.write_videofile(f"video_{type}_result.mp4", fps=fps)
|
| 113 |
|
| 114 |
+
return f"video_{type}_result.mp4"
|
| 115 |
|
| 116 |
|
| 117 |
def run_grounded_sam(input_image, text_prompt, task_type, background_prompt):
|