Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
27 |
load_in_4bit=True,
|
28 |
load_in_8bit=False,
|
29 |
trust_remote_code=True,
|
|
|
30 |
)
|
31 |
|
32 |
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|
|
|
27 |
load_in_4bit=True,
|
28 |
load_in_8bit=False,
|
29 |
trust_remote_code=True,
|
30 |
+
token=hf_token
|
31 |
)
|
32 |
|
33 |
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|