shima-n commited on
Commit
efa9026
·
verified ·
1 Parent(s): ad429c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -196,7 +196,7 @@ def encode_and_upload():
196
  else:
197
  print(f"Collection '{collection_name}' already exists. Skipping creation.")
198
 
199
- # Check already uploaded points
200
  existing_ids = set()
201
  scroll_res, _ = client.scroll(collection_name=collection_name, with_payload=False, limit=100000)
202
  existing_ids = {point.id for point in scroll_res}
 
196
  else:
197
  print(f"Collection '{collection_name}' already exists. Skipping creation.")
198
 
199
+ # Check already uploaded points
200
  existing_ids = set()
201
  scroll_res, _ = client.scroll(collection_name=collection_name, with_payload=False, limit=100000)
202
  existing_ids = {point.id for point in scroll_res}