Update pdfsummary_fun.py
Browse files- pdfsummary_fun.py +2 -3
pdfsummary_fun.py
CHANGED
@@ -9,9 +9,8 @@ from langchain_openai import ChatOpenAI
|
|
9 |
import os
|
10 |
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
openai_api_key = os.getenv('openai_api_key')
|
15 |
|
16 |
def pdf_summary(ocr_results_folder):
|
17 |
|
|
|
9 |
import os
|
10 |
|
11 |
|
12 |
+
openai_api_key=os.environ.get("openai_api_key")
|
13 |
+
|
|
|
14 |
|
15 |
def pdf_summary(ocr_results_folder):
|
16 |
|