Spaces:
Runtime error
Runtime error
Commit
Β·
4746b63
1
Parent(s):
359e6bf
Update app.py
Browse files
app.py
CHANGED
@@ -170,7 +170,7 @@ for model in model_tags:
|
|
170 |
DROPDOWNS[model] = f" in the style of <{model}>"
|
171 |
|
172 |
# def image_prompt(prompt, dropdown, guidance, steps, seed, height, width, negative_prompt=""):
|
173 |
-
def image_prompt(prompt, guidance, steps, seed, height, width):
|
174 |
# prompt = prompt + DROPDOWNS[dropdown]
|
175 |
square_pixels = height * width
|
176 |
if square_pixels > 640000:
|
|
|
170 |
DROPDOWNS[model] = f" in the style of <{model}>"
|
171 |
|
172 |
# def image_prompt(prompt, dropdown, guidance, steps, seed, height, width, negative_prompt=""):
|
173 |
+
def image_prompt(prompt, guidance, steps, seed, height, width, negative_prompt=""):
|
174 |
# prompt = prompt + DROPDOWNS[dropdown]
|
175 |
square_pixels = height * width
|
176 |
if square_pixels > 640000:
|