Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
from langchain.embeddings import OpenAIEmbeddings, HuggingFaceEmbeddings, HuggingFaceInferenceAPIEmbeddings | |
from dotenv import load_dotenv | |
import os | |
provider_retrieval_model = "HF" | |
embeddingmodel = "BAAI/bge-small-en-v1.5" | |
load_dotenv() | |
HF_Token = os.environ.get("HF_TOKEN") | |
def token(): | |
print(HF_Token) |