Spaces:
Sleeping
Sleeping
added introductory prompt
Browse files- backend.py +1 -1
backend.py
CHANGED
@@ -105,7 +105,7 @@ def handle_query(query_str: str,
|
|
105 |
|
106 |
else:
|
107 |
|
108 |
-
|
109 |
#storage_context = StorageContext.from_defaults(persist_dir=PERSIST_DIR)
|
110 |
#index = load_index_from_storage(storage_context)
|
111 |
gr.Info("index is true")
|
|
|
105 |
|
106 |
else:
|
107 |
|
108 |
+
index = build_index(matched_path)
|
109 |
#storage_context = StorageContext.from_defaults(persist_dir=PERSIST_DIR)
|
110 |
#index = load_index_from_storage(storage_context)
|
111 |
gr.Info("index is true")
|