Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,9 +65,9 @@ async def process_video(
|
|
| 65 |
frames_b64 =[file_to_base64(os.path.join(work_dir, f)) for f in frame_files]
|
| 66 |
audio_b64 = file_to_base64(audio_path)
|
| 67 |
|
| 68 |
-
|
| 69 |
|
| 70 |
-
|
| 71 |
"success": True,
|
| 72 |
"total_frames": len(frames_b64),
|
| 73 |
"duration": duration,
|
|
|
|
| 65 |
frames_b64 =[file_to_base64(os.path.join(work_dir, f)) for f in frame_files]
|
| 66 |
audio_b64 = file_to_base64(audio_path)
|
| 67 |
|
| 68 |
+
print(f"Done with video, {len(frames_b64))")
|
| 69 |
|
| 70 |
+
return {
|
| 71 |
"success": True,
|
| 72 |
"total_frames": len(frames_b64),
|
| 73 |
"duration": duration,
|