Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|