Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,19 +22,7 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
|
|
22 |
with gr.Group():
|
23 |
prompt = gr.Text(label="Prompt", lines=2, max_lines=8, placeholder="1girl, solo, ...", show_copy_button=True)
|
24 |
with gr.Accordion("Advanced options", open=False):
|
25 |
-
neg_prompt = gr.Text(label="Negative Prompt", lines=1, max_lines=8, placeholder="")
|
26 |
-
model = 'NSFW-gen-v2' = {
|
27 |
-
"model_type": [
|
28 |
-
"SDXL"
|
29 |
-
],
|
30 |
-
"tags": [
|
31 |
-
"UnfilteredAI",
|
32 |
-
"3d",
|
33 |
-
"not-for-all-audiences"
|
34 |
-
],
|
35 |
-
"prompt": "highly detailed, masterpiece, best quality, very aesthetic, absurdres",
|
36 |
-
"negative_prompt": "lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract], drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly"
|
37 |
-
}
|
38 |
with gr.Row():
|
39 |
width = gr.Slider(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
40 |
height = gr.Slider(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
|
|
22 |
with gr.Group():
|
23 |
prompt = gr.Text(label="Prompt", lines=2, max_lines=8, placeholder="1girl, solo, ...", show_copy_button=True)
|
24 |
with gr.Accordion("Advanced options", open=False):
|
25 |
+
neg_prompt = gr.Text(label="Negative Prompt", lines=1, max_lines=8, placeholder="")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
with gr.Row():
|
27 |
width = gr.Slider(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
28 |
height = gr.Slider(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|