t6
Browse files
app.py
CHANGED
@@ -10,11 +10,11 @@ os.environ['OPENAI_API_KEY'] = 'sk-I8ZFaluX7Rf0xd4WavcNT3BlbkFJUbUW83gEju4gp3X2M
|
|
10 |
# rebuild storage context
|
11 |
storage_context = StorageContext.from_defaults(persist_dir="index_dir")
|
12 |
|
13 |
-
# load index
|
14 |
-
index = load_index_from_storage(storage_context)
|
15 |
|
16 |
-
# strat a search engine
|
17 |
-
query_engine = index.as_query_engine()
|
18 |
|
19 |
|
20 |
|
|
|
10 |
# rebuild storage context
|
11 |
storage_context = StorageContext.from_defaults(persist_dir="index_dir")
|
12 |
|
13 |
+
# # load index
|
14 |
+
# index = load_index_from_storage(storage_context)
|
15 |
|
16 |
+
# # strat a search engine
|
17 |
+
# query_engine = index.as_query_engine()
|
18 |
|
19 |
|
20 |
|