Update app.py
Browse files
app.py
CHANGED
@@ -277,7 +277,7 @@ def run_grounded_sam(input_image, text_prompt, task_type, background_prompt, bac
|
|
277 |
#return [(com_img, 'composite with background'), (green_img, 'green screen'), (alpha_rgb, 'alpha matte')]
|
278 |
return alpha_rgb
|
279 |
|
280 |
-
def infer(video_in, trim_value,
|
281 |
print(prompt)
|
282 |
break_vid = get_frames(video_in)
|
283 |
|
|
|
277 |
#return [(com_img, 'composite with background'), (green_img, 'green screen'), (alpha_rgb, 'alpha matte')]
|
278 |
return alpha_rgb
|
279 |
|
280 |
+
def infer(video_in, trim_value, prompt, background_prompt, background_type, box_threshold, text_threshold, iou_threshold, scribble_mode, guidance_mode):
|
281 |
print(prompt)
|
282 |
break_vid = get_frames(video_in)
|
283 |
|