Spaces:
Sleeping
Sleeping
Remove hardcoded HF token for security
Browse files77 unmodified lines787980818283848577 unmodified linesraise# ---------------- Hugging Face Mistral API ----------------#HF_TOKEN = "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"#HF_MODEL = "mistralai/Mistral-7B-Instruct-v0.2:featherless-ai"def get_mistral_answer(query: str, context: str) -> str:"""77 unmodified lines787980818283848577 unmodified linesraise# ---------------- Hugging Face Mistral API ----------------# HF_TOKEN and HF_MODEL should be set via environment variables# HF_MODEL = "mistralai/Mistral-7B-Instruct-v0.2:featherless-ai"def get_mistral_answer(query: str, context: str) -> str:"""
src/search_final.py+2-2