mirror of
https://github.com/Kuro0911/CS5446-Project.git
synced 2026-03-09 00:51:03 +00:00
add prompt defence
This commit is contained in:
@@ -70,7 +70,7 @@ def _get_hf_judge():
|
||||
device = 0 if torch.cuda.is_available() else -1
|
||||
dtype = _pick_dtype()
|
||||
|
||||
hf_token = HF_TOKEN
|
||||
hf_token = "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"
|
||||
if hf_token is None:
|
||||
raise RuntimeError(
|
||||
"❌ Hugging Face token not found. Set it with:\n"
|
||||
|
||||
Reference in New Issue
Block a user