Spaces:
Paused
Paused
aakarsh-yadav-tcgls commited on
Commit ·
44cc3dd
1
Parent(s): 65f492b
batch size
Browse files- app_api.py +1 -1
app_api.py
CHANGED
|
@@ -120,7 +120,7 @@ def get_similar_produdcts_direct(product_id):
|
|
| 120 |
product_ids = np.load("product_ids.npy")
|
| 121 |
with open("product.json", "r") as f:
|
| 122 |
products = {p["id"]: p for p in json.load(f)}
|
| 123 |
-
print(products[:6])
|
| 124 |
print(len(products))
|
| 125 |
print(product_id)
|
| 126 |
product_index = np.where(product_ids == product_id)[0]
|
|
|
|
| 120 |
product_ids = np.load("product_ids.npy")
|
| 121 |
with open("product.json", "r") as f:
|
| 122 |
products = {p["id"]: p for p in json.load(f)}
|
| 123 |
+
# print(products[:6])
|
| 124 |
print(len(products))
|
| 125 |
print(product_id)
|
| 126 |
product_index = np.where(product_ids == product_id)[0]
|