Delta0723 commited on
Commit
7f7ed2c
·
verified ·
1 Parent(s): 2b79122

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ app.add_middleware(
36
  print("🚀 Cargando modelo y tokenizer...")
37
 
38
  try:
39
- tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL)
40
  tokenizer.pad_token = tokenizer.eos_token
41
 
42
  base_model = AutoModelForCausalLM.from_pretrained(
 
36
  print("🚀 Cargando modelo y tokenizer...")
37
 
38
  try:
39
+ tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL, use_fast=False)
40
  tokenizer.pad_token = tokenizer.eos_token
41
 
42
  base_model = AutoModelForCausalLM.from_pretrained(