Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
from transformers.utils import logging
|
4 |
-
from
|
5 |
import torch
|
6 |
from llama_index.core import VectorStoreIndex
|
7 |
from llama_index.core import Document
|
|
|
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
|
7 |
from llama_index.core import Document
|