Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch16")
|
|
| 12 |
|
| 13 |
i1 = gr.Image(type="pil", label="Input image")
|
| 14 |
i2 = gr.Textbox(label="Description for section to extracted")
|
| 15 |
-
i3 = gr.Number(
|
| 16 |
o1 = gr.Image(type="pil", label="Extracted Crop part")
|
| 17 |
o2 = gr.Textbox(label="Similarity score")
|
| 18 |
|
|
|
|
| 12 |
|
| 13 |
i1 = gr.Image(type="pil", label="Input image")
|
| 14 |
i2 = gr.Textbox(label="Description for section to extracted")
|
| 15 |
+
i3 = gr.Number(value=0.96, label="Threshold percentage score")
|
| 16 |
o1 = gr.Image(type="pil", label="Extracted Crop part")
|
| 17 |
o2 = gr.Textbox(label="Similarity score")
|
| 18 |
|