Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import json
|
|
| 3 |
from llama_index import SimpleDirectoryReader, GPTListIndex, readers, GPTSimpleVectorIndex, LLMPredictor, PromptHelper
|
| 4 |
from langchain import OpenAI
|
| 5 |
import sys
|
|
|
|
| 6 |
from IPython.display import Markdown, display
|
| 7 |
|
| 8 |
def construct_index(directory_path):
|
|
|
|
| 3 |
from llama_index import SimpleDirectoryReader, GPTListIndex, readers, GPTSimpleVectorIndex, LLMPredictor, PromptHelper
|
| 4 |
from langchain import OpenAI
|
| 5 |
import sys
|
| 6 |
+
import os
|
| 7 |
from IPython.display import Markdown, display
|
| 8 |
|
| 9 |
def construct_index(directory_path):
|