Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
# from llama_index import ServiceContext
|
| 3 |
-
from llama_index.core import ServiceContext
|
| 4 |
-
from llama_index import GPTVectorStoreIndex as VectorStoreIndex
|
| 5 |
from llama_index.embeddings import HuggingFaceEmbedding
|
| 6 |
from llama_index.llms import HuggingFaceInferenceAPI
|
| 7 |
from llama_index.schema import Document
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
# from llama_index import ServiceContext
|
| 3 |
+
from llama_index.core import VectorStoreIndex, ServiceContext
|
| 4 |
+
# from llama_index import GPTVectorStoreIndex as VectorStoreIndex
|
| 5 |
from llama_index.embeddings import HuggingFaceEmbedding
|
| 6 |
from llama_index.llms import HuggingFaceInferenceAPI
|
| 7 |
from llama_index.schema import Document
|