NoaiGPT commited on
Commit
ae156a9
1 Parent(s): 9004b7f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from sentence_splitter import SentenceSplitter
8
  from itertools import product
9
 
10
  # Get the Hugging Face token from environment variable
11
- hf_token = os.getenv('HF_TOKEN')
12
 
13
  cuda_available = torch.cuda.is_available()
14
  device = torch.device("cuda" if cuda_available else "cpu")
 
8
  from itertools import product
9
 
10
  # Get the Hugging Face token from environment variable
11
+ hf_token = os.getenv('hf_token')
12
 
13
  cuda_available = torch.cuda.is_available()
14
  device = torch.device("cuda" if cuda_available else "cpu")