mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-02 01:18:30 +02:00
removed all python-dotenv and just let dev load from env, assuming they know variables have to be exported beforehand
This commit is contained in:
@@ -29,7 +29,7 @@ A quantization-optimized search system that demonstrates:
|
||||
|
||||
* Qdrant Cloud cluster (URL + API key)
|
||||
* Python 3.9+ (or Google Colab)
|
||||
* Packages: `qdrant-client`, `numpy`, `python-dotenv`
|
||||
* Packages: `qdrant-client`, `numpy`
|
||||
|
||||
### Models
|
||||
|
||||
@@ -55,9 +55,7 @@ import numpy as np
|
||||
|
||||
from qdrant_client import QdrantClient, models
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
client = QdrantClient(url=os.getenv("QDRANT_URL"), api_key=os.getenv("QDRANT_API_KEY"))
|
||||
|
||||
# For Colab:
|
||||
|
||||
Reference in New Issue
Block a user