Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import os
|
|
| 9 |
|
| 10 |
# Create a text input
|
| 11 |
|
| 12 |
-
api_key = os.getenv("
|
| 13 |
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
|
| 14 |
headers = {"Authorization": "f'Bearer {api_key}"}
|
| 15 |
|
|
|
|
| 9 |
|
| 10 |
# Create a text input
|
| 11 |
|
| 12 |
+
api_key = os.getenv("ImageGenerating2")
|
| 13 |
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
|
| 14 |
headers = {"Authorization": "f'Bearer {api_key}"}
|
| 15 |
|