frankrobotics commited on
Commit
d8ecca8
Β·
verified Β·
1 Parent(s): c647451

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -9,6 +9,7 @@ pipe = pipeline(
9
  model=model_id,
10
  torch_dtype=torch.bfloat16,
11
  device_map="auto",
 
12
  )
13
  messages = [
14
  {"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
 
9
  model=model_id,
10
  torch_dtype=torch.bfloat16,
11
  device_map="auto",
12
+ trust_remote_code=True,
13
  )
14
  messages = [
15
  {"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},