Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,6 +62,7 @@ def query(prompt, model, is_negative=False, steps=20, cfg_scale=7, seed=None):
|
|
| 62 |
image_bytes = requests.post(API_URL, headers=headers, json=payload).content
|
| 63 |
image = Image.open(io.BytesIO(image_bytes))
|
| 64 |
return image
|
|
|
|
| 65 |
|
| 66 |
|
| 67 |
css = """
|
|
|
|
| 62 |
image_bytes = requests.post(API_URL, headers=headers, json=payload).content
|
| 63 |
image = Image.open(io.BytesIO(image_bytes))
|
| 64 |
return image
|
| 65 |
+
print(f'\033[1mГенерация {key} завершена!\033[0m ({prompt})')
|
| 66 |
|
| 67 |
|
| 68 |
css = """
|