gufett0 commited on
Commit
cc44191
·
1 Parent(s): d1a1a8f

added introductory prompt

Browse files
Files changed (1) hide show
  1. backend.py +1 -1
backend.py CHANGED
@@ -105,7 +105,7 @@ def handle_query(query_str: str,
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")
 
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")