net2asif commited on
Commit
e5d7ca3
·
verified ·
1 Parent(s): 732137a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ Original file is located at
7
  https://colab.research.google.com/drive/1wUztAR4EdQUL3vkpM3Is-ps0TEocClry
8
  """
9
 
10
- !pip install langchain openai qdrant-client gradio pandas tiktoken -U langchain-community
11
 
12
  from google.colab import userdata
13
  openai_api_key=userdata.get('openai_api_key')
@@ -129,7 +129,7 @@ prompt = PromptTemplate(
129
  # from langchain.memory import ConversationBufferMemory
130
  # memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
131
 
132
- !pip install langchain-openai
133
 
134
  #import ChatOpenAI
135
  from langchain.chat_models import ChatOpenAI
 
7
  https://colab.research.google.com/drive/1wUztAR4EdQUL3vkpM3Is-ps0TEocClry
8
  """
9
 
10
+ # !pip install langchain openai qdrant-client gradio pandas tiktoken -U langchain-community
11
 
12
  from google.colab import userdata
13
  openai_api_key=userdata.get('openai_api_key')
 
129
  # from langchain.memory import ConversationBufferMemory
130
  # memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
131
 
132
+ # !pip install langchain-openai
133
 
134
  #import ChatOpenAI
135
  from langchain.chat_models import ChatOpenAI