Update app.py
Browse files
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://
|
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.")
|