dzekoh commited on
Commit
106d763
·
1 Parent(s): 0cb5e8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ examples = [["How are you?"]]
10
 
11
  tokenizer = AutoTokenizer.from_pretrained("tiiuae/falcon-40b-instruct")
12
  model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-40b-instruct")
13
-
14
 
15
  def predict(input, history=[]):
16
  # tokenize the new input sentence
 
10
 
11
  tokenizer = AutoTokenizer.from_pretrained("tiiuae/falcon-40b-instruct")
12
  model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-40b-instruct")
13
+ trust_remote_code=True
14
 
15
  def predict(input, history=[]):
16
  # tokenize the new input sentence