7eu7d7 commited on
Commit
177b4b7
·
verified ·
1 Parent(s): 3e9654b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def postprocess(output):
15
  def infer(image, candidate_labels):
16
  candidate_labels = [label.lstrip(" ") for label in candidate_labels.split(",")]
17
  clip_out = clip_detector(image, candidate_labels=candidate_labels)
18
- return postprocess(clip_out), postprocess_siglip(siglip_out, labels=candidate_labels)
19
 
20
 
21
  with gr.Blocks() as demo:
 
15
  def infer(image, candidate_labels):
16
  candidate_labels = [label.lstrip(" ") for label in candidate_labels.split(",")]
17
  clip_out = clip_detector(image, candidate_labels=candidate_labels)
18
+ return postprocess(clip_out)
19
 
20
 
21
  with gr.Blocks() as demo: