mirror of
https://github.com/katanemo/plano.git
synced 2026-05-03 04:42:49 +02:00
fix lint
This commit is contained in:
parent
10f0a027bf
commit
84ba7d1184
1 changed files with 0 additions and 2 deletions
|
|
@ -68,10 +68,8 @@ def get_prompt_guard(model_name):
|
|||
logger.info("Loading Guard Model...")
|
||||
|
||||
if glb.DEVICE == "cpu":
|
||||
|
||||
model_class = OVModelForSequenceClassification
|
||||
else:
|
||||
|
||||
model_class = AutoModelForSequenceClassification
|
||||
|
||||
prompt_guard = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue