shoom013 commited on
Commit
2ff5a83
1 Parent(s): 61f786b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,6 +1,9 @@
1
  import gradio as gr
2
  # from transformers import pipeline
3
  # from transformers.utils import logging
 
 
 
4
  from llama_index.embeddings.huggingface import HuggingFaceEmbedding
5
  import torch
6
  from llama_index.core import VectorStoreIndex
 
1
  import gradio as gr
2
  # from transformers import pipeline
3
  # from transformers.utils import logging
4
+ from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
5
+ 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