dinhquangson commited on
Commit
69fc297
1 Parent(s): fea1af2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,6 +9,7 @@ from os import makedirs,getcwd
9
  from os.path import join,exists,dirname
10
  import torch
11
  import json
 
12
 
13
  app = FastAPI()
14
 
@@ -50,7 +51,6 @@ async def create_upload_file(text_field: str, file: UploadFile = File(...)):
50
  from haystack import Document, Pipeline
51
  from haystack.components.writers import DocumentWriter
52
  from haystack_integrations.components.retrievers.qdrant import QdrantHybridRetriever
53
- from haystack_integrations.document_stores.qdrant import QdrantDocumentStore
54
  from haystack.document_stores.types import DuplicatePolicy
55
  from haystack_integrations.components.embedders.fastembed import (
56
  FastembedTextEmbedder,
 
9
  from os.path import join,exists,dirname
10
  import torch
11
  import json
12
+ from haystack_integrations.document_stores.qdrant import QdrantDocumentStore
13
 
14
  app = FastAPI()
15
 
 
51
  from haystack import Document, Pipeline
52
  from haystack.components.writers import DocumentWriter
53
  from haystack_integrations.components.retrievers.qdrant import QdrantHybridRetriever
 
54
  from haystack.document_stores.types import DuplicatePolicy
55
  from haystack_integrations.components.embedders.fastembed import (
56
  FastembedTextEmbedder,