Spaces:
Runtime error
Runtime error
SunderAli17
commited on
Commit
•
d6536ae
1
Parent(s):
aa7da48
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
from dotenv import load_dotenv
|
3 |
import gradio as gr
|
4 |
from llama_index.core import StorageContext, load_index_from_storage, VectorStoreIndex, SimpleDirectoryReader, ChatPromptTemplate, Settings
|
5 |
-
from
|
6 |
#from llama_index.llms.huggingface import HuggingFaceInferenceAPI
|
7 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
8 |
from sentence_transformers import SentenceTransformer
|
|
|
2 |
from dotenv import load_dotenv
|
3 |
import gradio as gr
|
4 |
from llama_index.core import StorageContext, load_index_from_storage, VectorStoreIndex, SimpleDirectoryReader, ChatPromptTemplate, Settings
|
5 |
+
from llama_index_llms.huggingface-api import HuggingFaceInferenceAPI
|
6 |
#from llama_index.llms.huggingface import HuggingFaceInferenceAPI
|
7 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
8 |
from sentence_transformers import SentenceTransformer
|