codelion commited on
Commit
1b4efee
·
verified ·
1 Parent(s): 7f1eaf3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -74,7 +74,7 @@ class CustomHuggingFaceInferenceAPIEmbeddings(HuggingFaceInferenceAPIEmbeddings)
74
  embeddings = CustomHuggingFaceInferenceAPIEmbeddings(
75
  api_key=hf_api_key,
76
  model_name="BAAI/bge-large-en-v1.5",
77
- api_key="https://router.huggingface.co/hf-inference/pipeline/feature-extraction/",
78
  )
79
 
80
  # Initialize session state
 
74
  embeddings = CustomHuggingFaceInferenceAPIEmbeddings(
75
  api_key=hf_api_key,
76
  model_name="BAAI/bge-large-en-v1.5",
77
+ api_url="https://router.huggingface.co/hf-inference/pipeline/feature-extraction/",
78
  )
79
 
80
  # Initialize session state