greendra commited on
Commit
fbecfcf
·
verified ·
1 Parent(s): 8300be0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ from openai import OpenAI, RateLimitError, APIConnectionError, AuthenticationErr
15
  # Project by Nymbo
16
 
17
  # --- Constants ---
18
- API_URL = "https://router.huggingface.co/hf-inference/models/black-forest-labs/FLUX.1-schnell"
19
  API_TOKEN = os.getenv("HF_READ_TOKEN")
20
  if not API_TOKEN:
21
  print("WARNING: HF_READ_TOKEN environment variable not set. API calls may fail.")
 
15
  # Project by Nymbo
16
 
17
  # --- Constants ---
18
+ API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
19
  API_TOKEN = os.getenv("HF_READ_TOKEN")
20
  if not API_TOKEN:
21
  print("WARNING: HF_READ_TOKEN environment variable not set. API calls may fail.")