amirkhanbloch commited on
Commit
494575e
·
verified ·
1 Parent(s): 3d6aec5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ app = FastAPI()
12
 
13
  # Get the Hugging Face API key from environment variables
14
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
15
- HUGGINGFACE_TOKEN = os.getenv("HUGF_TOKEN")
16
  print(HUGGINGFACE_TOKEN)
17
 
18
  headers = {"Authorization": f"Bearer {HUGGINGFACE_TOKEN}"}
 
12
 
13
  # Get the Hugging Face API key from environment variables
14
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
15
+ HUGGINGFACE_TOKEN = os.getenv("huf_token")
16
  print(HUGGINGFACE_TOKEN)
17
 
18
  headers = {"Authorization": f"Bearer {HUGGINGFACE_TOKEN}"}