Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,14 @@ from llama_index.vector_stores.chroma import ChromaVectorStore
|
|
6 |
from llama_index.core import StorageContext
|
7 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
8 |
import torch
|
9 |
-
from llama_index.core import
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
|
|
|
|
13 |
from huggingface_hub import login
|
14 |
import chromadb as chromadb
|
15 |
from chromadb.utils import embedding_functions
|
|
|
6 |
from llama_index.core import StorageContext
|
7 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
8 |
import torch
|
9 |
+
from llama_index.core import (
|
10 |
+
VectorStoreIndex,
|
11 |
+
Document,
|
12 |
+
Settings,
|
13 |
+
ChatMessage,
|
14 |
+
)
|
15 |
+
from llama_index.llms.huggingface import (HuggingFaceLLM, )
|
16 |
+
from llama_index.llms.huggingface.api import (HuggingFaceInferenceAPI, )
|
17 |
from huggingface_hub import login
|
18 |
import chromadb as chromadb
|
19 |
from chromadb.utils import embedding_functions
|