sg7849 commited on
Commit
07c9a27
·
verified ·
1 Parent(s): 302f558

Update hf_retrieval.py

Browse files
Files changed (1) hide show
  1. hf_retrieval.py +2 -3
hf_retrieval.py CHANGED
@@ -15,9 +15,8 @@ checkpoint_path = "finetuned_clip.pt"
15
  model.load_state_dict(torch.load(checkpoint_path, map_location="cpu"))
16
  model.eval()
17
 
18
- print("QDRANT_CLOUD_URL:", os.environ["QDRANT_CLOUD_URL"])
19
- print("QDRANT_API_KEY:", os.environ["QDRANT_API_KEY"])
20
- print("Type of API key:", type(os.environ["QDRANT_API_KEY"]))
21
 
22
  qdrant = QdrantClient(url=os.environ["QDRANT_CLOUD_URL"],
23
  api_key=["QDRANT_API_KEY"])
 
15
  model.load_state_dict(torch.load(checkpoint_path, map_location="cpu"))
16
  model.eval()
17
 
18
+ print("Type of QDRANT_CLOUD_URL:", type(os.environ["QDRANT_CLOUD_URL"]))
19
+ print("Type of QDRANT_API_KEY:", type(os.environ["QDRANT_API_KEY"]))
 
20
 
21
  qdrant = QdrantClient(url=os.environ["QDRANT_CLOUD_URL"],
22
  api_key=["QDRANT_API_KEY"])