krishbakshi commited on
Commit
2076a84
·
verified ·
1 Parent(s): 932ecd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from huggingface_hub import login
7
  import os
8
 
9
  # Retrieve the token from an environment variable
10
- access_token = os.getenv('black-forest-labs/FLUX.1') # Replace with the correct variable name
11
 
12
  if access_token is None:
13
  raise ValueError("Token is not set in the environment variable.")
 
7
  import os
8
 
9
  # Retrieve the token from an environment variable
10
+ access_token = os.getenv('HF_TOKEN') # Replace with the correct variable name
11
 
12
  if access_token is None:
13
  raise ValueError("Token is not set in the environment variable.")