evanperez commited on
Commit
d52da14
1 Parent(s): be2460b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -120,7 +120,7 @@ def update_chat_history(question, reply):
120
  st.write("---")
121
 
122
 
123
- '''
124
  def user_input(user_question, api_key):
125
  embeddings = GoogleGenerativeAIEmbeddings(model="models/embedding-001", google_api_key=api_key)
126
  new_db = FAISS.load_local("faiss_index", embeddings)
@@ -170,7 +170,7 @@ def user_input(user_question, api_key):
170
 
171
  # Update chat history
172
  update_chat_history(user_question, transformed_response)
173
-
174
 
175
 
176
 
 
120
  st.write("---")
121
 
122
 
123
+
124
  def user_input(user_question, api_key):
125
  embeddings = GoogleGenerativeAIEmbeddings(model="models/embedding-001", google_api_key=api_key)
126
  new_db = FAISS.load_local("faiss_index", embeddings)
 
170
 
171
  # Update chat history
172
  update_chat_history(user_question, transformed_response)
173
+ '''
174
 
175
 
176