Spaces:
Running
Running
Update app.py
Browse files
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
|