Spaces:
Running
Running
AamirAli123
commited on
Commit
•
c6c42c2
1
Parent(s):
cc75764
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ import weasyprint
|
|
21 |
import matplotlib.pyplot as plt
|
22 |
from langchain.document_loaders import PyPDFDirectoryLoader
|
23 |
load_dotenv()
|
24 |
-
model = ocr_predictor(pretrained = True)
|
25 |
huggingfacehub_api_token = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
26 |
openai_key = os.getenv("OPEN_API_KEY")
|
27 |
# default_persist_directory = './chroma_HF/'
|
|
|
21 |
import matplotlib.pyplot as plt
|
22 |
from langchain.document_loaders import PyPDFDirectoryLoader
|
23 |
load_dotenv()
|
24 |
+
# model = ocr_predictor(pretrained = True)
|
25 |
huggingfacehub_api_token = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
26 |
openai_key = os.getenv("OPEN_API_KEY")
|
27 |
# default_persist_directory = './chroma_HF/'
|