fschwartzer commited on
Commit
1f0dffd
1 Parent(s): 40fe707

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@ import pandas as pd
3
  import torch
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5
 
6
- token='HF_TOKEN'
 
7
 
8
  # Load the tokenizer
9
  model_name = "your-llama-model" # Replace with the LLaMA model name
 
3
  import torch
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5
 
6
+ hf_token = os.getenv("HF_TOKEN")
7
+ token = os.getenv("HF_TOKEN")
8
 
9
  # Load the tokenizer
10
  model_name = "your-llama-model" # Replace with the LLaMA model name