Spaces:
Runtime error
Runtime error
Srinivasulu kethanaboina
commited on
Commit
•
396fd7f
1
Parent(s):
a030a49
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
from http.cookies import SimpleCookie
|
4 |
from dotenv import load_dotenv
|
5 |
from llama_index.core import StorageContext, load_index_from_storage, VectorStoreIndex, SimpleDirectoryReader, ChatPromptTemplate, Settings
|
6 |
-
from llama_index.llms.
|
7 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
8 |
import random
|
9 |
import datetime
|
|
|
3 |
from http.cookies import SimpleCookie
|
4 |
from dotenv import load_dotenv
|
5 |
from llama_index.core import StorageContext, load_index_from_storage, VectorStoreIndex, SimpleDirectoryReader, ChatPromptTemplate, Settings
|
6 |
+
from llama_index.llms.huggingface import HuggingFaceInferenceAPI # Updated import
|
7 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
8 |
import random
|
9 |
import datetime
|