Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,8 @@ from model import build_model
|
|
15 |
|
16 |
# Download human-readable labels for ImageNet.
|
17 |
response = requests.get("https://git.io/JJkYN")
|
18 |
-
labels = response.text.split("
|
|
|
19 |
|
20 |
def parse_option():
|
21 |
parser = argparse.ArgumentParser('UniCL demo script', add_help=False)
|
@@ -156,6 +157,7 @@ gr.Interface(
|
|
156 |
["./crowd2.jpg", "a street; a street with a woman walking in the middle; a street with a man walking in the middle"],
|
157 |
["./donut.png", "a bread; a donut; some donuts"],
|
158 |
["./horse.png", "an image of horse; an image of cow; an image of dog"],
|
|
|
159 |
],
|
160 |
article=Path("docs/intro.md").read_text()
|
161 |
).launch()
|
|
|
15 |
|
16 |
# Download human-readable labels for ImageNet.
|
17 |
response = requests.get("https://git.io/JJkYN")
|
18 |
+
labels = response.text.split("
|
19 |
+
")
|
20 |
|
21 |
def parse_option():
|
22 |
parser = argparse.ArgumentParser('UniCL demo script', add_help=False)
|
|
|
157 |
["./crowd2.jpg", "a street; a street with a woman walking in the middle; a street with a man walking in the middle"],
|
158 |
["./donut.png", "a bread; a donut; some donuts"],
|
159 |
["./horse.png", "an image of horse; an image of cow; an image of dog"],
|
160 |
+
["./dog_and_cat.jfif", "a dog; a cat; dog and cat"]
|
161 |
],
|
162 |
article=Path("docs/intro.md").read_text()
|
163 |
).launch()
|