JaphetHernandez commited on
Commit
5e5f699
1 Parent(s): 8b9253d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,9 +6,10 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
6
  from huggingface_hub import login
7
 
8
  # Iniciar sesión en Hugging Face con Fireworks API Key
9
- fireworks_token = st.secrets["fw_3ZXGTbx2Pp5566Mu5BXmXCWh"]
10
  login(fireworks_token)
11
 
 
12
  # Configurar modelo Llama 3.1
13
  model_id = "meta-llama/Llama-3.1-1B"
14
  tokenizer = AutoTokenizer.from_pretrained(model_id)
 
6
  from huggingface_hub import login
7
 
8
  # Iniciar sesión en Hugging Face con Fireworks API Key
9
+ fireworks_token = st.secrets["HUGGINGFACE_FIREWORKS_APIKEY"]
10
  login(fireworks_token)
11
 
12
+
13
  # Configurar modelo Llama 3.1
14
  model_id = "meta-llama/Llama-3.1-1B"
15
  tokenizer = AutoTokenizer.from_pretrained(model_id)