shoom013 commited on
Commit
6200eb1
1 Parent(s): b56f431

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
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 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
 
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