Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ with gr.Blocks() as interface:
|
|
27 |
with gr.Column():
|
28 |
with gr.Row():
|
29 |
with gr.Column():
|
30 |
-
prompt = gr.Textbox(label="Prompt", info="What do you want?", value="score_6_up,
|
31 |
negative_prompt = gr.Textbox(label="Negative Prompt", info="What do you want to exclude from the image?", value="score_1, score_2, score_3, multiple views, illustration", lines=4, interactive=True)
|
32 |
with gr.Column():
|
33 |
generate_button = gr.Button("Generate")
|
@@ -40,9 +40,9 @@ with gr.Blocks() as interface:
|
|
40 |
height = gr.Slider(label="Height", info="The height in pixels of the generated image.", value=1024, minimum=128, maximum=4096, step=64, interactive=True)
|
41 |
with gr.Column():
|
42 |
sampling_steps = gr.Slider(label="Sampling Steps", info="The number of denoising steps.", value=40, minimum=4, maximum=50, step=1, interactive=True)
|
43 |
-
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=
|
44 |
with gr.Column():
|
45 |
-
guidance_scale = gr.Slider(label="Guidance Scale", info="Guidance scale.", value=
|
46 |
|
47 |
generate_button.click(fn=generate, inputs=[prompt, negative_prompt, width, height, sampling_steps, guidance_scale, seed], outputs=[output])
|
48 |
|
|
|
27 |
with gr.Column():
|
28 |
with gr.Row():
|
29 |
with gr.Column():
|
30 |
+
prompt = gr.Textbox(label="Prompt", info="What do you want?", value="score_6_up, a high-resolution photograph featuring a young woman with fair skin and long, straight brown hair, seated on a wooden bar stool in a rustic, warmly lit bar. She is completely nude, with red ribbon wrapped around her torso and thighs, accentuating her slender physique. Her breasts are medium-sized with pink nipples. The background is a wooden bar with various decorations. There are several framed pictures on the wooden walls, including a large, vintage-style poster of a woman with long hair. A string of multicolored triangular flags hangs across the top of the bar, adding a festive touch. To the right of the woman, there are two lit candles on a wooden plate, contributing to the warm ambiance. A small, heart-shaped mirror hangs above the bar, and a vintage-style glass bottle with a cork stopper is visible. The bar is cluttered with various items, including a cake with candles and a small bouquet of flowers, adding to the festive and cozy atmosphere.", lines=4, interactive=True)
|
31 |
negative_prompt = gr.Textbox(label="Negative Prompt", info="What do you want to exclude from the image?", value="score_1, score_2, score_3, multiple views, illustration", lines=4, interactive=True)
|
32 |
with gr.Column():
|
33 |
generate_button = gr.Button("Generate")
|
|
|
40 |
height = gr.Slider(label="Height", info="The height in pixels of the generated image.", value=1024, minimum=128, maximum=4096, step=64, interactive=True)
|
41 |
with gr.Column():
|
42 |
sampling_steps = gr.Slider(label="Sampling Steps", info="The number of denoising steps.", value=40, minimum=4, maximum=50, step=1, interactive=True)
|
43 |
+
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=163829704,)
|
44 |
with gr.Column():
|
45 |
+
guidance_scale = gr.Slider(label="Guidance Scale", info="Guidance scale.", value=8, minimum=1, maximum=10, step=0.1, interactive=True)
|
46 |
|
47 |
generate_button.click(fn=generate, inputs=[prompt, negative_prompt, width, height, sampling_steps, guidance_scale, seed], outputs=[output])
|
48 |
|