Greff3 commited on
Commit
e3664d3
·
verified ·
1 Parent(s): c563ec4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -57,7 +57,7 @@ examples = [
57
  "a cute white cat holding a sign that says hello world",
58
  "an anime illustration of Steve Jobs",
59
  "Create image of Modern house in minecraft style",
60
- "Photo of a woman on the beach, shot from above. She is facing the sea, while wearing a white dress. She has long blonde hair",
61
  "Selfie photo of a wizard with long beard and purple robes, he is apparently in the middle of Tokyo. Probably taken from a phone.",
62
  "Photo of a young woman with long, wavy brown hair tied in a bun and glasses. She has a fair complexion and is wearing subtle makeup, emphasizing her eyes and lips. She is dressed in a black top. The background appears to be an urban setting with a building facade, and the sunlight casts a warm glow on her face.",
63
  ]
@@ -82,6 +82,9 @@ with gr.Blocks() as demo:
82
  enhanceBtn = gr.Button("🚀 Сгенерировать изображение")
83
 
84
  with gr.Column("Advanced Options"):
 
 
 
85
  with gr.Row():
86
  width = gr.Slider(label="Ширина", minimum=256, maximum=MAX_IMAGE_SIZE, step=32, value=DEFAULT_WIDTH)
87
  height = gr.Slider(label="Высота", minimum=256, maximum=MAX_IMAGE_SIZE, step=32, value=DEFAULT_HEIGHT)
 
57
  "a cute white cat holding a sign that says hello world",
58
  "an anime illustration of Steve Jobs",
59
  "Create image of Modern house in minecraft style",
60
+ "photo of a woman on the beach, shot from above. She is facing the sea, while wearing a white dress. She has long blonde hair",
61
  "Selfie photo of a wizard with long beard and purple robes, he is apparently in the middle of Tokyo. Probably taken from a phone.",
62
  "Photo of a young woman with long, wavy brown hair tied in a bun and glasses. She has a fair complexion and is wearing subtle makeup, emphasizing her eyes and lips. She is dressed in a black top. The background appears to be an urban setting with a building facade, and the sunlight casts a warm glow on her face.",
63
  ]
 
82
  enhanceBtn = gr.Button("🚀 Сгенерировать изображение")
83
 
84
  with gr.Column("Advanced Options"):
85
+ with gr.Row():
86
+ seed = gr.Number(label="Seed", value=42)
87
+ randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
88
  with gr.Row():
89
  width = gr.Slider(label="Ширина", minimum=256, maximum=MAX_IMAGE_SIZE, step=32, value=DEFAULT_WIDTH)
90
  height = gr.Slider(label="Высота", minimum=256, maximum=MAX_IMAGE_SIZE, step=32, value=DEFAULT_HEIGHT)