Spaces:
Sleeping
Sleeping
initial commit
Browse files- src/main.py +2 -2
src/main.py
CHANGED
@@ -17,10 +17,10 @@ import sys
|
|
17 |
|
18 |
app = FastAPI()
|
19 |
|
20 |
-
|
21 |
logger = logging.getLogger(__name__)
|
22 |
logger.setLevel(logging.DEBUG)
|
23 |
-
logger.addHandler(logging.StreamHandler(sys.stdout))
|
24 |
|
25 |
vector_db = VectorDB(emb_model, db_location, full_actions_list_file_path, num_sub_vectors, batch_size)
|
26 |
open_ai_connector = OpenAIConnector()
|
|
|
17 |
|
18 |
app = FastAPI()
|
19 |
|
20 |
+
logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s')
|
21 |
logger = logging.getLogger(__name__)
|
22 |
logger.setLevel(logging.DEBUG)
|
23 |
+
#logger.addHandler(logging.StreamHandler(sys.stdout))
|
24 |
|
25 |
vector_db = VectorDB(emb_model, db_location, full_actions_list_file_path, num_sub_vectors, batch_size)
|
26 |
open_ai_connector = OpenAIConnector()
|