Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def init_model():
|
|
29 |
"""
|
30 |
global tokenizer, model, streamer, terminators
|
31 |
tokenizer = AutoTokenizer.from_pretrained(
|
32 |
-
model_path,
|
33 |
|
34 |
model = AutoModelForCausalLM.from_pretrained(
|
35 |
model_path,
|
|
|
29 |
"""
|
30 |
global tokenizer, model, streamer, terminators
|
31 |
tokenizer = AutoTokenizer.from_pretrained(
|
32 |
+
model_path, trust_remote_code=True)
|
33 |
|
34 |
model = AutoModelForCausalLM.from_pretrained(
|
35 |
model_path,
|