Spaces:
Sleeping
Sleeping
yanyoyo
commited on
Commit
·
0872f04
1
Parent(s):
6b6edc1
Update dependencies to resolve version conflicts
Browse files
app.py
CHANGED
|
@@ -1,10 +1,8 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
from llama_index import VectorStoreIndex, SimpleDirectoryReader
|
| 3 |
-
from llama_index import Settings
|
| 4 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
| 5 |
from llama_index.llms.huggingface import HuggingFaceLLM
|
| 6 |
|
| 7 |
-
|
| 8 |
st.set_page_config(page_title="llama_index_demo", page_icon="🦜🔗")
|
| 9 |
st.title("llama_index_demo")
|
| 10 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, Settings
|
|
|
|
| 3 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
| 4 |
from llama_index.llms.huggingface import HuggingFaceLLM
|
| 5 |
|
|
|
|
| 6 |
st.set_page_config(page_title="llama_index_demo", page_icon="🦜🔗")
|
| 7 |
st.title("llama_index_demo")
|
| 8 |
|