Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
|
5 |
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig, GemmaTokenizer, StoppingCriteria, StoppingCriteriaList, GenerationConfig
|
6 |
import os
|
7 |
|
8 |
-
|
9 |
|
10 |
|
11 |
peft_model_id = "daqc/kuntur-peru-legal-es-gemma-2b-it"
|
|
|
5 |
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig, GemmaTokenizer, StoppingCriteria, StoppingCriteriaList, GenerationConfig
|
6 |
import os
|
7 |
|
8 |
+
hf_token = os.getenv("hf_token")
|
9 |
|
10 |
|
11 |
peft_model_id = "daqc/kuntur-peru-legal-es-gemma-2b-it"
|