Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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()
|