vishwask commited on
Commit
e3d8df5
·
verified ·
1 Parent(s): 0da6aa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -158,12 +158,11 @@ def conversation(qa_chain, message, history):
158
  #qa_chain =
159
 
160
 
161
-
162
  def demo():
163
  with gr.Blocks(theme='base') as demo:
164
- #vector_db = gr.State()
165
  qa_chain = gr.State()
166
- #collection_name = gr.State()
167
 
168
  vector_db, collection_name = initialize_database(list_file_obj)
169
  chatbot = gr.Chatbot(height=300)
 
158
  #qa_chain =
159
 
160
 
 
161
  def demo():
162
  with gr.Blocks(theme='base') as demo:
163
+ vector_db = gr.State()
164
  qa_chain = gr.State()
165
+ collection_name = gr.State()
166
 
167
  vector_db, collection_name = initialize_database(list_file_obj)
168
  chatbot = gr.Chatbot(height=300)