Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
|
5 |
|
6 |
# Cargar el modelo y el tokenizer
|
7 |
-
model_id = "
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_id, use_auth_token=os.getenv("TOKEN"))
|
9 |
model = AutoModelForCausalLM.from_pretrained(model_id, use_auth_token=os.getenv("TOKEN"))
|
10 |
|
|
|
4 |
|
5 |
|
6 |
# Cargar el modelo y el tokenizer
|
7 |
+
model_id = "DeepESP/gpt2-spanish"
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_id, use_auth_token=os.getenv("TOKEN"))
|
9 |
model = AutoModelForCausalLM.from_pretrained(model_id, use_auth_token=os.getenv("TOKEN"))
|
10 |
|