Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
31 |
tokenizer = AutoTokenizer.from_pretrained(
|
32 |
model_name,
|
33 |
revision="main",
|
34 |
-
|
35 |
# Or the desired revision
|
36 |
)
|
37 |
|
|
|
31 |
tokenizer = AutoTokenizer.from_pretrained(
|
32 |
model_name,
|
33 |
revision="main",
|
34 |
+
use_auth_token=api_token
|
35 |
# Or the desired revision
|
36 |
)
|
37 |
|