Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
|
|
12 |
|
13 |
|
14 |
def load_data():
|
15 |
-
return SimpleDirectoryReader("./
|
16 |
|
17 |
def build_index(documents):
|
18 |
return GPTVectorStoreIndex.from_documents(documents)
|
|
|
12 |
|
13 |
|
14 |
def load_data():
|
15 |
+
return SimpleDirectoryReader("./document/management/").load_data()
|
16 |
|
17 |
def build_index(documents):
|
18 |
return GPTVectorStoreIndex.from_documents(documents)
|