Update app.py
Browse files
app.py
CHANGED
@@ -65,6 +65,6 @@ def extract_image(image, text, num=1):
|
|
65 |
|
66 |
title = "ClipnCrop"
|
67 |
description = "Extract sections of images from your image by using OpenAI's CLIP and Facebooks Detr implemented on HuggingFace Transformers"
|
68 |
-
examples=[['
|
69 |
article = "<p style='text-align: center'>"
|
70 |
gr.Interface(fn=extract_image, inputs=[i1, i2], outputs=[o1, o2], title=title, description=description, article=article, examples=examples, enable_queue=True).launch()
|
|
|
65 |
|
66 |
title = "ClipnCrop"
|
67 |
description = "Extract sections of images from your image by using OpenAI's CLIP and Facebooks Detr implemented on HuggingFace Transformers"
|
68 |
+
examples=[['ex3.jpg', 'black bag'],['ex2.jpg', 'man in red dress']]
|
69 |
article = "<p style='text-align: center'>"
|
70 |
gr.Interface(fn=extract_image, inputs=[i1, i2], outputs=[o1, o2], title=title, description=description, article=article, examples=examples, enable_queue=True).launch()
|