Spaces:
Paused
Paused
Julian Bilcke
Claude
commited on
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 <[email protected]>
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...")
|