Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,6 @@ def generate_novelai_image(input_text, quality_tags, seed, negative_prompt, scal
|
|
| 91 |
"steps": 28,
|
| 92 |
"ucPreset": 0,
|
| 93 |
"uncond_scale": 1,
|
| 94 |
-
"width": 832
|
| 95 |
}
|
| 96 |
}
|
| 97 |
|
|
@@ -129,7 +128,7 @@ iface = gr.Interface(
|
|
| 129 |
gr.Slider(minimum=-1, maximum=2**32 - 1, step=1, value=-1, label="Seed"),
|
| 130 |
gr.Textbox(label="Negative Prompt", value="nsfw, lowres, {bad}, error, fewer, extra, missing, worst quality, jpeg artifacts, bad quality, watermark, unfinished, displeasing, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]"),
|
| 131 |
gr.Slider(minimum=1, maximum=20, step=1, value=5, label="Scale"),
|
| 132 |
-
gr.Radio(choices=["Landscape (1216x832)", "Square (1024x1024)", "Portrait (832x1216)"]),
|
| 133 |
gr.Dropdown(
|
| 134 |
choices=[
|
| 135 |
"k_euler", "k_euler_ancestral", "k_dpmpp_2s_ancestral",
|
|
|
|
| 91 |
"steps": 28,
|
| 92 |
"ucPreset": 0,
|
| 93 |
"uncond_scale": 1,
|
|
|
|
| 94 |
}
|
| 95 |
}
|
| 96 |
|
|
|
|
| 128 |
gr.Slider(minimum=-1, maximum=2**32 - 1, step=1, value=-1, label="Seed"),
|
| 129 |
gr.Textbox(label="Negative Prompt", value="nsfw, lowres, {bad}, error, fewer, extra, missing, worst quality, jpeg artifacts, bad quality, watermark, unfinished, displeasing, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]"),
|
| 130 |
gr.Slider(minimum=1, maximum=20, step=1, value=5, label="Scale"),
|
| 131 |
+
gr.Radio(choices=["Landscape (1216x832)", "Square (1024x1024)", "Portrait (832x1216)"], value="Portrait (832x1216)"),
|
| 132 |
gr.Dropdown(
|
| 133 |
choices=[
|
| 134 |
"k_euler", "k_euler_ancestral", "k_dpmpp_2s_ancestral",
|