Update utils.py
Browse files
utils.py
CHANGED
@@ -16,7 +16,7 @@ def clean_pinecone(response):
|
|
16 |
days = entry['metadata']['days']
|
17 |
additional_metadata[code] = {'time': time, 'days': days}
|
18 |
|
19 |
-
return
|
20 |
|
21 |
def build_filter(json_response):
|
22 |
filter = {}
|
|
|
16 |
days = entry['metadata']['days']
|
17 |
additional_metadata[code] = {'time': time, 'days': days}
|
18 |
|
19 |
+
return classes, additional_metadata
|
20 |
|
21 |
def build_filter(json_response):
|
22 |
filter = {}
|