Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
prrao87 committed Jul 27, 2023
1 parent af3fb9d commit 6915391
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions dbs/qdrant/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@

from fastapi import FastAPI
from qdrant_client import QdrantClient
from sentence_transformers import SentenceTransformer

from api.config import Settings
from api.routers import rest


from sentence_transformers import SentenceTransformer

model_type = "sbert"


Expand Down
3 changes: 2 additions & 1 deletion dbs/qdrant/scripts/bulk_index_sbert.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
from qdrant_client.http import models

sys.path.insert(1, os.path.realpath(Path(__file__).resolve().parents[1]))
from sentence_transformers import SentenceTransformer

from api.config import Settings
from schemas.wine import Wine
from sentence_transformers import SentenceTransformer

load_dotenv()
# Custom types
Expand Down

0 comments on commit 6915391

Please sign in to comment.