Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,6 @@ def query(payload):
|
|
| 20 |
response = requests.post(API_URL, headers=headers, json=payload)
|
| 21 |
return response.content
|
| 22 |
|
| 23 |
-
|
| 24 |
def genImage(prompt, negative_prompt, steps, cfg_scale, width, height, seed):
|
| 25 |
image_bytes = query(
|
| 26 |
{
|
|
|
|
| 20 |
response = requests.post(API_URL, headers=headers, json=payload)
|
| 21 |
return response.content
|
| 22 |
|
|
|
|
| 23 |
def genImage(prompt, negative_prompt, steps, cfg_scale, width, height, seed):
|
| 24 |
image_bytes = query(
|
| 25 |
{
|