t4
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from llama_index import GPTVectorStoreIndex, SimpleDirectoryReader
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
import gradio as gr
|
6 |
import openai
|
7 |
|
|
|
1 |
from llama_index import GPTVectorStoreIndex, SimpleDirectoryReader
|
2 |
+
import os
|
3 |
+
from llama_index.node_parser import SimpleNodeParser
|
4 |
+
from llama_index import StorageContext, load_index_from_storage
|
5 |
import gradio as gr
|
6 |
import openai
|
7 |
|