Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
cb643a9
1
Parent(s):
f04a3dc
chore: Import logging and os, update dependencies
Browse files- load_data.py +9 -8
load_data.py
CHANGED
@@ -1,16 +1,17 @@
|
|
1 |
-
import
|
|
|
2 |
import platform
|
|
|
|
|
|
|
|
|
3 |
import polars as pl
|
|
|
|
|
4 |
from chromadb.utils import embedding_functions
|
5 |
-
from
|
6 |
from huggingface_hub import InferenceClient
|
7 |
from tqdm.contrib.concurrent import thread_map
|
8 |
-
from dotenv import load_dotenv
|
9 |
-
import os
|
10 |
-
from datetime import datetime
|
11 |
-
import stamina
|
12 |
-
import requests
|
13 |
-
import logging
|
14 |
|
15 |
# Set up logging
|
16 |
logging.basicConfig(
|
|
|
1 |
+
import logging
|
2 |
+
import os
|
3 |
import platform
|
4 |
+
from datetime import datetime
|
5 |
+
from typing import List, Literal, Optional, Tuple
|
6 |
+
|
7 |
+
import chromadb
|
8 |
import polars as pl
|
9 |
+
import requests
|
10 |
+
import stamina
|
11 |
from chromadb.utils import embedding_functions
|
12 |
+
from dotenv import load_dotenv
|
13 |
from huggingface_hub import InferenceClient
|
14 |
from tqdm.contrib.concurrent import thread_map
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
# Set up logging
|
17 |
logging.basicConfig(
|