moazzamdev commited on
Commit
1e477fc
·
1 Parent(s): 879be0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def on_submit(event, contents, ):
46
 
47
  # Initialize LangChain OpenAI
48
  index = VectorStoreIndex.from_documents(documents)
49
- llm = OpenAI(openai_api_key="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", temperature=0, streaming = True
50
  )
51
 
52
  # Initialize ConversationBufferMemory
 
46
 
47
  # Initialize LangChain OpenAI
48
  index = VectorStoreIndex.from_documents(documents)
49
+ llm = OpenAI(openai_api_key=apikey.value, temperature=0, streaming = True
50
  )
51
 
52
  # Initialize ConversationBufferMemory