Spaces:
Running
on
L40S
Running
on
L40S
Commit
·
5dd7501
1
Parent(s):
099dc67
Fix video generation error: 'str' object has no attribute 'name'
Browse filesChanged video_file.name to video_file since video_file is already a string path, not a file object.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
app.py
CHANGED
@@ -77,7 +77,7 @@ def generate_recammaster_video(
|
|
77 |
|
78 |
# Copy uploaded video to temp directory
|
79 |
input_video_path = os.path.join(temp_dir, "input.mp4")
|
80 |
-
shutil.copy(video_file
|
81 |
|
82 |
# Extract frames
|
83 |
progress(0.2, desc="Extracting video frames...")
|
|
|
77 |
|
78 |
# Copy uploaded video to temp directory
|
79 |
input_video_path = os.path.join(temp_dir, "input.mp4")
|
80 |
+
shutil.copy(video_file, input_video_path)
|
81 |
|
82 |
# Extract frames
|
83 |
progress(0.2, desc="Extracting video frames...")
|