astroarya commited on
Commit
09b6adc
·
verified ·
1 Parent(s): 9e2c664

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -1,11 +1,10 @@
1
  import os
2
  import streamlit as st
3
- from langchain import OpenAI
4
- from langchain import PromptTemplate
5
  from langchain.chains import LLMChain, SequentialChain
6
- from langchain import ConversationBufferMemory
7
- from langchain import WikipediaAPIWrapper
8
-
9
 
10
  OPENAI_KEY = os.getenv("OPENAI_API_KEY")
11
  os.environ['OPENAI_API_KEY'] = OPENAI_KEY
 
1
  import os
2
  import streamlit as st
3
+ from langchain.llms import OpenAI
4
+ from langchain.prompts import PromptTemplate
5
  from langchain.chains import LLMChain, SequentialChain
6
+ from langchain.memory import ConversationBufferMemory
7
+ from langchain.utilities import WikipediaAPIWrapper
 
8
 
9
  OPENAI_KEY = os.getenv("OPENAI_API_KEY")
10
  os.environ['OPENAI_API_KEY'] = OPENAI_KEY