productizationlabs
commited on
Commit
·
5c7ecc8
1
Parent(s):
4ed96a7
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def predict_chatgpt(inputs,chat_counter_chatgpt, chatbot_chatgpt=[], history=[])
|
|
33 |
history.append("You asked: " + inputs)
|
34 |
|
35 |
# load index from disk
|
36 |
-
index = GPTSimpleVectorIndex.load_from_disk('
|
37 |
|
38 |
# query the index
|
39 |
result = index.query(inputs)
|
|
|
33 |
history.append("You asked: " + inputs)
|
34 |
|
35 |
# load index from disk
|
36 |
+
index = GPTSimpleVectorIndex.load_from_disk('IPCIndex.json')
|
37 |
|
38 |
# query the index
|
39 |
result = index.query(inputs)
|