Xuanyou commited on
Commit
5c8dee9
Β·
verified Β·
1 Parent(s): 3182286

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -580,7 +580,7 @@ def process_video(video_file):
580
  output_video_path = generate_spirit_animal_video(compressed_path)
581
 
582
  # Wait until the output video is generated
583
- timeout = 6000 # Timeout in seconds
584
  if not wait_for_file(output_video_path, timeout=timeout):
585
  print("Timeout occurred while waiting for video generation.")
586
  return gr.update(value=None, visible=False) # Hide output if failed
 
580
  output_video_path = generate_spirit_animal_video(compressed_path)
581
 
582
  # Wait until the output video is generated
583
+ timeout = 60000 # Timeout in seconds
584
  if not wait_for_file(output_video_path, timeout=timeout):
585
  print("Timeout occurred while waiting for video generation.")
586
  return gr.update(value=None, visible=False) # Hide output if failed