Spaces:
Sleeping
Sleeping
lakshmivairamani
commited on
Commit
•
04d3a52
1
Parent(s):
3345596
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def handle_query(model_name_query,query,flag):
|
|
54 |
max_new_tokens=1000,
|
55 |
generate_kwargs={"temperature": 0.1},
|
56 |
)
|
57 |
-
|
58 |
index = load_index_from_storage(storage_context)
|
59 |
chat_text_qa_msgs = [
|
60 |
(
|
|
|
54 |
max_new_tokens=1000,
|
55 |
generate_kwargs={"temperature": 0.1},
|
56 |
)
|
57 |
+
storage_context = StorageContext.from_defaults(persist_dir=PERSIST_DIR)
|
58 |
index = load_index_from_storage(storage_context)
|
59 |
chat_text_qa_msgs = [
|
60 |
(
|