kundan621 commited on
Commit
290b4f9
·
1 Parent(s): cd3292e

Remove hardcoded HF token for security

Browse files
Files changed (1) hide show
  1. src/search_final.py +2 -2
src/search_final.py CHANGED
@@ -78,8 +78,8 @@ except Exception as e:
78
  raise
79
 
80
  # ---------------- Hugging Face Mistral API ----------------
81
- #HF_TOKEN = "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"
82
- #HF_MODEL = "mistralai/Mistral-7B-Instruct-v0.2:featherless-ai"
83
 
84
  def get_mistral_answer(query: str, context: str) -> str:
85
  """
 
78
  raise
79
 
80
  # ---------------- Hugging Face Mistral API ----------------
81
+ # HF_TOKEN and HF_MODEL should be set via environment variables
82
+ # HF_MODEL = "mistralai/Mistral-7B-Instruct-v0.2:featherless-ai"
83
 
84
  def get_mistral_answer(query: str, context: str) -> str:
85
  """