fffiloni commited on
Commit
edc46ed
·
1 Parent(s): 4238eb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, text_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
 
 
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