Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ client.headers["x-use-cache"] = "0"
|
|
7 |
|
8 |
def predict(image, label_list):
|
9 |
labels = label_list.split(",")
|
10 |
-
response = zero_shot_image_classification(
|
11 |
image,
|
12 |
labels
|
13 |
)
|
|
|
7 |
|
8 |
def predict(image, label_list):
|
9 |
labels = label_list.split(",")
|
10 |
+
response = client.zero_shot_image_classification(
|
11 |
image,
|
12 |
labels
|
13 |
)
|