Spaces:
Running
on
Zero
Running
on
Zero
copy pasta typo
Browse files
webgui.py
CHANGED
@@ -165,7 +165,7 @@ def select_face(det_bboxes, probs):
|
|
165 |
sorted_bboxes = sorted(filtered_bboxes, key=lambda x:(x[3]-x[1]) * (x[2] - x[0]), reverse=True)
|
166 |
return sorted_bboxes[0]
|
167 |
|
168 |
-
def process_video(uploaded_img, uploaded_audio, width, height, length, seed, facemask_dilation_ratio, facecrop_dilation_ratio, context_frames, context_overlap, cfg, steps, sample_rate, fps,
|
169 |
|
170 |
if seed is not None and seed > -1:
|
171 |
generator = torch.manual_seed(seed)
|
|
|
165 |
sorted_bboxes = sorted(filtered_bboxes, key=lambda x:(x[3]-x[1]) * (x[2] - x[0]), reverse=True)
|
166 |
return sorted_bboxes[0]
|
167 |
|
168 |
+
def process_video(uploaded_img, uploaded_audio, width, height, length, seed, facemask_dilation_ratio, facecrop_dilation_ratio, context_frames, context_overlap, cfg, steps, sample_rate, fps, device):
|
169 |
|
170 |
if seed is not None and seed > -1:
|
171 |
generator = torch.manual_seed(seed)
|