Threatthriver commited on
Commit
a9dcc32
1 Parent(s): cea70da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
  from typing import List, Tuple, Optional
7
 
8
  # Retrieve API key from environment variable
9
- api_key = os.getenv('HFTOKEN')
10
  if not api_key:
11
  raise ValueError("API key not found. Please set the HFTOKEN environment variable.")
12
 
 
6
  from typing import List, Tuple, Optional
7
 
8
  # Retrieve API key from environment variable
9
+ api_key = os.getenv('HF_TOKEN')
10
  if not api_key:
11
  raise ValueError("API key not found. Please set the HFTOKEN environment variable.")
12