Spaces:
Runtime error
Runtime error
dinhquangson
commited on
Commit
•
074890c
1
Parent(s):
0f36973
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,9 @@ import uuid
|
|
12 |
from qdrant_client import models, QdrantClient
|
13 |
from itertools import islice
|
14 |
|
|
|
|
|
|
|
15 |
FILEPATH_PATTERN = "structured_data_doc.parquet"
|
16 |
NUM_PROC = os.cpu_count()
|
17 |
parent_path = dirname(getcwd())
|
@@ -51,9 +54,6 @@ client2.create_collection(
|
|
51 |
|
52 |
|
53 |
|
54 |
-
app = FastAPI()
|
55 |
-
|
56 |
-
|
57 |
|
58 |
|
59 |
# Create function to generate embeddings (in batches) for a given dataset split
|
|
|
12 |
from qdrant_client import models, QdrantClient
|
13 |
from itertools import islice
|
14 |
|
15 |
+
app = FastAPI()
|
16 |
+
|
17 |
+
|
18 |
FILEPATH_PATTERN = "structured_data_doc.parquet"
|
19 |
NUM_PROC = os.cpu_count()
|
20 |
parent_path = dirname(getcwd())
|
|
|
54 |
|
55 |
|
56 |
|
|
|
|
|
|
|
57 |
|
58 |
|
59 |
# Create function to generate embeddings (in batches) for a given dataset split
|