Files changed (1) hide show
  1. summ.py +1 -1
summ.py CHANGED
@@ -7,7 +7,7 @@ from langchain.text_splitter import CharacterTextSplitter
7
  from langchain.chains import ReduceDocumentsChain, MapReduceDocumentsChain
8
  from langchain.chains.combine_documents.stuff import StuffDocumentsChain
9
 
10
- os.environ['OPENAI_API_KEY'] = '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'
11
 
12
  llm = ChatOpenAI(temperature=0, model_name="gpt-4-0125-preview")
13
 
 
7
  from langchain.chains import ReduceDocumentsChain, MapReduceDocumentsChain
8
  from langchain.chains.combine_documents.stuff import StuffDocumentsChain
9
 
10
+ os.environ['OPENAI_API_KEY'] = os.getenv("OPENAI_API_KEY")
11
 
12
  llm = ChatOpenAI(temperature=0, model_name="gpt-4-0125-preview")
13