bobber commited on
Commit
6dd269f
·
verified ·
1 Parent(s): 11d154b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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, A high-resolution photograph of a young, nude woman with fair skin and long, wavy red hair cascading down her back. She is standing in a lush, tropical jungle setting, surrounded by dense greenery and various types of plants. Her physique is slender with small, perky breasts and a flat stomach. She has a relaxed, confident expression on her face, looking directly at the camera. The woman has a pair of translucent, fairy-like wings attached to her back, with a light, almost golden hue. The wings have a delicate, almost ethereal quality, contrasting with her natural skin tone. She is standing on a moss-covered rock in a small, shallow pond, with her left hand resting on the rock for support and her right arm hanging loosely by her side. The background is a dense, vibrant jungle, with large leaves and ferns in various shades of green, creating a lush, tropical atmosphere. The lighting is soft and natural, with sunlight filtering through the foliage, casting a gentle glow on her skin and the surrounding environment. The overall mood of the image is serene and magical, blending elements of fantasy and nature.", 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,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=0,)
44
  with gr.Column():
45
- guidance_scale = gr.Slider(label="Guidance Scale", info="Guidance scale.", value=3.5, 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
 
 
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