Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ import traceback # For detailed error logging
|
|
| 14 |
# Project by Nymbo
|
| 15 |
|
| 16 |
# --- Constants ---
|
| 17 |
-
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-3.5-turbo"
|
| 18 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
| 19 |
if not API_TOKEN:
|
| 20 |
print("WARNING: HF_READ_TOKEN environment variable not set. API calls may fail.")
|
|
|
|
| 14 |
# Project by Nymbo
|
| 15 |
|
| 16 |
# --- Constants ---
|
| 17 |
+
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-3.5-large-turbo"
|
| 18 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
| 19 |
if not API_TOKEN:
|
| 20 |
print("WARNING: HF_READ_TOKEN environment variable not set. API calls may fail.")
|