vishnun commited on
Commit
0b1c7be
·
1 Parent(s): 817115e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ i3 = gr.inputs.Number(default=0.96, label="Threshold percentage score")
16
  o1 = gr.outputs.Image(type="pil", label="Cropped part")
17
  o2 = gr.outputs.Textbox(label="Similarity score")
18
 
19
- def extract_image(image, text, num=1, prob):
20
 
21
  inputs = feature_extractor(images=image, return_tensors="pt")
22
  outputs = dmodel(**inputs)
 
16
  o1 = gr.outputs.Image(type="pil", label="Cropped part")
17
  o2 = gr.outputs.Textbox(label="Similarity score")
18
 
19
+ def extract_image(image, text, prob, num=1):
20
 
21
  inputs = feature_extractor(images=image, return_tensors="pt")
22
  outputs = dmodel(**inputs)