Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def generate_txt2img(current_model, prompt, is_negative=False, image_style="None
|
|
51 |
API_URL = "https://api-inference.huggingface.co/models/playgroundai/playground-v2-1024px-aesthetic"
|
52 |
|
53 |
|
54 |
-
api_key = os.getenv("
|
55 |
headers = {"Authorization": "f'Bearer {api_key}"}
|
56 |
|
57 |
|
|
|
51 |
API_URL = "https://api-inference.huggingface.co/models/playgroundai/playground-v2-1024px-aesthetic"
|
52 |
|
53 |
|
54 |
+
api_key = os.getenv("Imagrating")
|
55 |
headers = {"Authorization": "f'Bearer {api_key}"}
|
56 |
|
57 |
|