Spaces:
Paused
Paused
rodrigomasini
commited on
Commit
·
0831088
1
Parent(s):
4ab4748
Update app_v4.py
Browse files
app_v4.py
CHANGED
@@ -30,7 +30,7 @@ if device == "cuda:0":
|
|
30 |
torch.cuda.empty_cache()
|
31 |
|
32 |
# Load tokenizer
|
33 |
-
tokenizer = AutoTokenizer.from_pretrained(pretrained_model_dir, use_fast=
|
34 |
|
35 |
# Attempt to load the model, catch any OOM errors
|
36 |
try:
|
|
|
30 |
torch.cuda.empty_cache()
|
31 |
|
32 |
# Load tokenizer
|
33 |
+
tokenizer = AutoTokenizer.from_pretrained(pretrained_model_dir, use_fast=False)
|
34 |
|
35 |
# Attempt to load the model, catch any OOM errors
|
36 |
try:
|