Spaces:
Runtime error
Runtime error
JustinLin610
commited on
Commit
•
dea9378
1
Parent(s):
605a3b1
add information
Browse files
app.py
CHANGED
@@ -45,7 +45,11 @@ iface = gr.Interface(image_text_zeroshot,
|
|
45 |
examples=[["assets/dog_image.jpg", "A dog|A car|A bird"],
|
46 |
["assets/car_image.jpg", "A dog|A car|A bird"],
|
47 |
["assets/bird_image.jpg", "A dog|A car|A bird"]],
|
48 |
-
description="""
|
49 |
-
|
|
|
|
|
|
|
|
|
50 |
|
51 |
iface.launch()
|
|
|
45 |
examples=[["assets/dog_image.jpg", "A dog|A car|A bird"],
|
46 |
["assets/car_image.jpg", "A dog|A car|A bird"],
|
47 |
["assets/bird_image.jpg", "A dog|A car|A bird"]],
|
48 |
+
description="""
|
49 |
+
<p>This is a simple demo of ImageBind for zeroshot image classification. Please refer to the original <a href='https://arxiv.org/abs/2305.05665' target='_blank'>paper</a> and <a href='https://github.com/facebookresearch/ImageBind' target='_blank'>repo</a> for more details.<br>
|
50 |
+
To test your own cases, you can upload an image, and provide the candidate texts separated by "|".<br>
|
51 |
+
You can duplicate this space and run it privately: <a href='https://huggingface.co/spaces/OFA-Sys/chinese-clip-zero-shot-image-classification?duplicate=true'><img src='https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14' alt='Duplicate Space'></a></p>
|
52 |
+
""",
|
53 |
+
title="ImageBind: Zero-shot Image Classification")
|
54 |
|
55 |
iface.launch()
|