Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -77,14 +77,13 @@ def run_flovd(prompt, image, cam_pose_name):
|
|
77 |
video_path = os.path.join(OUTPUT_PATH, "generated_videos", video_filename)
|
78 |
|
79 |
print(f"π Looking for generated video at: {video_path}")
|
80 |
-
|
81 |
if os.path.exists(video_path):
|
82 |
-
print("β
Video
|
83 |
return video_path
|
84 |
else:
|
85 |
-
print("β
|
86 |
-
return f"
|
87 |
-
|
88 |
except Exception as e:
|
89 |
print(f"π₯ Exception occurred: {str(e)}")
|
90 |
return f"An error occurred during generation: {str(e)}"
|
|
|
77 |
video_path = os.path.join(OUTPUT_PATH, "generated_videos", video_filename)
|
78 |
|
79 |
print(f"π Looking for generated video at: {video_path}")
|
|
|
80 |
if os.path.exists(video_path):
|
81 |
+
print("β
Video generated:", video_path)
|
82 |
return video_path
|
83 |
else:
|
84 |
+
print("β File missing:", video_path)
|
85 |
+
return gr.Textbox.update(value=f"[ERROR] File not found at: {video_path}")
|
86 |
+
|
87 |
except Exception as e:
|
88 |
print(f"π₯ Exception occurred: {str(e)}")
|
89 |
return f"An error occurred during generation: {str(e)}"
|