Update app.py
Browse files
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
|