nightfury commited on
Commit
b9d6b01
·
verified ·
1 Parent(s): 21c7f81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import os
4
  import re
5
 
6
  import chromadb
7
- from pydantic.v1 import BaseSettings
8
  from dotenv import load_dotenv
9
  from fastapi.encoders import jsonable_encoder
10
  from langchain.document_loaders import PyPDFLoader
@@ -12,7 +12,7 @@ from langchain.embeddings import OpenAIEmbeddings
12
  from langchain.vectorstores import Chroma
13
 
14
  load_dotenv()
15
- logging.basicConfig(level=logging.DEBUG)
16
 
17
  ABS_PATH = os.path.dirname(os.path.abspath(__file__))
18
  DB_DIR = os.path.join(ABS_PATH, "db")
 
4
  import re
5
 
6
  import chromadb
7
+ #from pydantic.v1 import BaseSettings
8
  from dotenv import load_dotenv
9
  from fastapi.encoders import jsonable_encoder
10
  from langchain.document_loaders import PyPDFLoader
 
12
  from langchain.vectorstores import Chroma
13
 
14
  load_dotenv()
15
+ #logging.basicConfig(level=logging.DEBUG)
16
 
17
  ABS_PATH = os.path.dirname(os.path.abspath(__file__))
18
  DB_DIR = os.path.join(ABS_PATH, "db")