Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 299 Bytes
2cc8ae2 607e865 |
1 2 3 4 5 6 7 8 9 10 |
from langchain.embeddings import OpenAIEmbeddings, HuggingFaceEmbeddings, HuggingFaceInferenceAPIEmbeddings
from dotenv import load_dotenv
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) |