Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,6 @@ file_path=""
|
|
125 |
num_responses=0
|
126 |
current_chat_mode="STANDARD"
|
127 |
retriever=None
|
128 |
-
index = None
|
129 |
token_count_bandi=0
|
130 |
token_count_bandi_sistema_puglia=0
|
131 |
chat_engine_bandi=None
|
@@ -176,7 +175,6 @@ def main():
|
|
176 |
def select_collection(evt: gr.SelectData):
|
177 |
global current_collection
|
178 |
global retriever
|
179 |
-
global index
|
180 |
global chat_engine_bandi
|
181 |
global chat_engine_bandi_sistema_puglia
|
182 |
global token_count_bandi
|
|
|
125 |
num_responses=0
|
126 |
current_chat_mode="STANDARD"
|
127 |
retriever=None
|
|
|
128 |
token_count_bandi=0
|
129 |
token_count_bandi_sistema_puglia=0
|
130 |
chat_engine_bandi=None
|
|
|
175 |
def select_collection(evt: gr.SelectData):
|
176 |
global current_collection
|
177 |
global retriever
|
|
|
178 |
global chat_engine_bandi
|
179 |
global chat_engine_bandi_sistema_puglia
|
180 |
global token_count_bandi
|