Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,11 +13,11 @@ import io
|
|
| 13 |
import time
|
| 14 |
|
| 15 |
# Set up Groq API key
|
| 16 |
-
api_key = os.getenv("
|
| 17 |
client = Groq(api_key=api_key)
|
| 18 |
|
| 19 |
# Hugging Face API details for image generation
|
| 20 |
-
key = os.getenv("
|
| 21 |
API_URL = "https://api-inference.huggingface.co/models/Artples/LAI-ImageGeneration-vSDXL-2"
|
| 22 |
headers = {"Authorization": f"Bearer {key}"}
|
| 23 |
|
|
|
|
| 13 |
import time
|
| 14 |
|
| 15 |
# Set up Groq API key
|
| 16 |
+
api_key = os.getenv("g_key")
|
| 17 |
client = Groq(api_key=api_key)
|
| 18 |
|
| 19 |
# Hugging Face API details for image generation
|
| 20 |
+
key = os.getenv("h_key")
|
| 21 |
API_URL = "https://api-inference.huggingface.co/models/Artples/LAI-ImageGeneration-vSDXL-2"
|
| 22 |
headers = {"Authorization": f"Bearer {key}"}
|
| 23 |
|