fffiloni commited on
Commit
9dabcb0
·
verified ·
1 Parent(s): 35ba670

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def extract_frames_with_labels(video_path, base_output_dir="frames"):
92
  return frame_data
93
 
94
  # Define a function to run your script with selected inputs
95
- @spaces.GPU(duration=250)
96
  def run_xportrait(source_image, driving_video, seed, uc_scale, best_frame, out_frames, num_mix, ddim_steps, progress=gr.Progress(track_tqdm=True)):
97
 
98
  start_time = time.perf_counter()
 
92
  return frame_data
93
 
94
  # Define a function to run your script with selected inputs
95
+ @spaces.GPU(duration=180)
96
  def run_xportrait(source_image, driving_video, seed, uc_scale, best_frame, out_frames, num_mix, ddim_steps, progress=gr.Progress(track_tqdm=True)):
97
 
98
  start_time = time.perf_counter()