Spaces:
Running
Running
Niki Zhang
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -397,7 +397,7 @@ def infer(crop_image_path,full_image_path,state,language,task_type=None):
|
|
397 |
|
398 |
elif task_type=="task 3":
|
399 |
item_gallery_output.append("recomendation_pic/3.8.png")
|
400 |
-
item_gallery_output.append("recomendation_pic/basket-2.
|
401 |
input_image = Image.open(full_image_path).convert("RGB")
|
402 |
input_features = extract_features_siglip(input_image.convert("RGB"))
|
403 |
input_features = input_features.detach().cpu().numpy()
|
|
|
397 |
|
398 |
elif task_type=="task 3":
|
399 |
item_gallery_output.append("recomendation_pic/3.8.png")
|
400 |
+
item_gallery_output.append("recomendation_pic/basket-2.jpg")
|
401 |
input_image = Image.open(full_image_path).convert("RGB")
|
402 |
input_features = extract_features_siglip(input_image.convert("RGB"))
|
403 |
input_features = input_features.detach().cpu().numpy()
|