Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ if not HUGGINGFACE_API_KEY:
|
|
17 |
|
18 |
# Define the Hugging Face Inference API URL for a text-to-image model
|
19 |
# You can choose a different model if preferred
|
20 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
21 |
|
22 |
headers = {
|
23 |
"Authorization": f"Bearer {HUGGINGFACE_API_KEY}"
|
|
|
17 |
|
18 |
# Define the Hugging Face Inference API URL for a text-to-image model
|
19 |
# You can choose a different model if preferred
|
20 |
+
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
21 |
|
22 |
headers = {
|
23 |
"Authorization": f"Bearer {HUGGINGFACE_API_KEY}"
|