Spanicin commited on
Commit
548190a
·
verified ·
1 Parent(s): 71fba9d

Update app_celery.py

Browse files
Files changed (1) hide show
  1. app_celery.py +1 -0
app_celery.py CHANGED
@@ -560,6 +560,7 @@ def generate_video():
560
  try:
561
  video_chunk_path = task.get() # Wait for each task to complete
562
  video_chunk_paths.append(video_chunk_path)
 
563
  yield f'data: {video_chunk_path}\n\n' # Send the chunk path to the frontend
564
  print(f"Chunk {index} generated and sent: {video_chunk_path}")
565
  except Exception as e:
 
560
  try:
561
  video_chunk_path = task.get() # Wait for each task to complete
562
  video_chunk_paths.append(video_chunk_path)
563
+ print("video_chunk_paths",video_chunk_paths)
564
  yield f'data: {video_chunk_path}\n\n' # Send the chunk path to the frontend
565
  print(f"Chunk {index} generated and sent: {video_chunk_path}")
566
  except Exception as e: