Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,8 @@ from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
|
8 |
import torch
|
9 |
from llama_index.core import VectorStoreIndex
|
10 |
from llama_index.core import Document
|
11 |
-
from llama_index.core import Settings
|
12 |
-
from llama_index.llms.huggingface
|
13 |
-
from llama_index.llms.huggingface import HuggingFaceLLM
|
14 |
from huggingface_hub import login
|
15 |
import chromadb as chromadb
|
16 |
from chromadb.utils import embedding_functions
|
|
|
8 |
import torch
|
9 |
from llama_index.core import VectorStoreIndex
|
10 |
from llama_index.core import Document
|
11 |
+
from llama_index.core import Settings
|
12 |
+
from llama_index.llms.huggingface import (HuggingFaceInferenceAPI, HuggingFaceLLM, )
|
|
|
13 |
from huggingface_hub import login
|
14 |
import chromadb as chromadb
|
15 |
from chromadb.utils import embedding_functions
|