dwb2023 commited on
Commit
4dfdf91
·
verified ·
1 Parent(s): d7ed243

add trust_remote_code=True for processor

Browse files
Files changed (1) hide show
  1. app_dialogue.py +1 -1
app_dialogue.py CHANGED
@@ -36,7 +36,7 @@ MODELS = {
36
  ).to(DEVICE),
37
  }
38
  PROCESSOR = AutoImageProcessor.from_pretrained(
39
- "Salesforce/xgen-mm-phi3-mini-instruct-interleave-r-v1.5",
40
  )
41
 
42
  SYSTEM_PROMPT = [
 
36
  ).to(DEVICE),
37
  }
38
  PROCESSOR = AutoImageProcessor.from_pretrained(
39
+ "Salesforce/xgen-mm-phi3-mini-instruct-interleave-r-v1.5", trust_remote_code=True
40
  )
41
 
42
  SYSTEM_PROMPT = [