Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,6 @@ pipes = {
|
|
12 |
inputs = [
|
13 |
gr.Image(type='pil',
|
14 |
label="Image"),
|
15 |
-
gr.Textbox(lines=1,
|
16 |
-
label="Candidate Labels"),
|
17 |
gr.Radio(choices=[
|
18 |
"ViT/B-16",
|
19 |
"ViT/L-14",
|
@@ -22,6 +20,8 @@ inputs = [
|
|
22 |
label="Prompt Template Prompt",
|
23 |
placeholder="Optional prompt template as prefix",
|
24 |
value="a photo of a {}"),
|
|
|
|
|
25 |
]
|
26 |
images="festival.jpg"
|
27 |
|
|
|
12 |
inputs = [
|
13 |
gr.Image(type='pil',
|
14 |
label="Image"),
|
|
|
|
|
15 |
gr.Radio(choices=[
|
16 |
"ViT/B-16",
|
17 |
"ViT/L-14",
|
|
|
20 |
label="Prompt Template Prompt",
|
21 |
placeholder="Optional prompt template as prefix",
|
22 |
value="a photo of a {}"),
|
23 |
+
gr.Textbox(lines=1,
|
24 |
+
label="Candidate Labels", placeholder="Add a class label, one by one",),
|
25 |
]
|
26 |
images="festival.jpg"
|
27 |
|