shoom013 commited on
Commit
fc89512
·
verified ·
1 Parent(s): 6d00d79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,14 +4,14 @@ import gradio as gr
4
  from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
5
  from llama_index.vector_stores.chroma import ChromaVectorStore
6
  from llama_index.core.vector_stores import (MetadataFilters, ExactMatchFilter, )
7
- from llama_index.embeddings.huggingface import HuggingFaceEmbedding
8
  import torch
9
  from llama_index.core import (
10
  VectorStoreIndex,
11
  Document,
12
  Settings,
13
  )
14
- from llama_index.llms.huggingface import (HuggingFaceLLM, )
15
  from llama_index.llms.huggingface_api import (HuggingFaceInferenceAPI, )
16
  from llama_index.core.base.llms.types import ChatMessage
17
  from huggingface_hub import login
 
4
  from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
5
  from llama_index.vector_stores.chroma import ChromaVectorStore
6
  from llama_index.core.vector_stores import (MetadataFilters, ExactMatchFilter, )
7
+ from llama_index.embeddings.huggingface_api import HuggingFaceEmbedding
8
  import torch
9
  from llama_index.core import (
10
  VectorStoreIndex,
11
  Document,
12
  Settings,
13
  )
14
+ from llama_index.llms.huggingface_api import (HuggingFaceLLM, )
15
  from llama_index.llms.huggingface_api import (HuggingFaceInferenceAPI, )
16
  from llama_index.core.base.llms.types import ChatMessage
17
  from huggingface_hub import login