Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
def ask_patrick():
|
| 2 |
index = GPTSimpleVectorIndex.load_from_disk('index.json')
|
| 3 |
while True:
|
|
|
|
| 1 |
+
from langchain.chains import llm
|
| 2 |
+
from ast import Index
|
| 3 |
+
from gpt_index import SimpleDirectoryReader, GPTListIndex, readers, GPTSimpleVectorIndex, LLMPredictor, PromptHelper
|
| 4 |
+
from langchain import OpenAI
|
| 5 |
+
|
| 6 |
def ask_patrick():
|
| 7 |
index = GPTSimpleVectorIndex.load_from_disk('index.json')
|
| 8 |
while True:
|