prithivMLmods commited on
Commit
27bd1d2
·
verified ·
1 Parent(s): c35e231

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -128,7 +128,7 @@ def generate(
128
  examples = [
129
  "Super Realism, High-resolution photograph, woman, UHD, photorealistic, shot on a Sony A7III --chaos 20 --ar 1:2 --style raw --stylize 250",
130
  "Woman in a red jacket, snowy, in the style of hyper-realistic portraiture, caninecore, mountainous vistas, timeless beauty, palewave, iconic, distinctive noses --ar 72:101 --stylize 750 --v 6",
131
- "Super Realism, Headshot of handsome young man, wearing dark gray sweater with buttons and big shawl collar, brown hair and short beard, serious look on his face, black background, soft studio lighting, portrait ONE photography --ar 85:128 --v 6.0 --style",
132
  "Super-realism, Purple Dreamy, a medium-angle shot of a young woman with long brown hair, wearing a pair of eye-level glasses, stands in front of a backdrop of purple and white lights. The womans eyes are closed, her lips are slightly parted, as if she is looking up at the sky. Her hair is cascading over her shoulders, framing her face. She is wearing a sleeveless top, adorned with tiny white dots, and a gold chain necklace around her neck. Her left earrings are dangling from her ears, adding a pop of color to the scene."
133
  ]
134
 
@@ -157,7 +157,6 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
157
  )
158
  run_button = gr.Button("Run", scale=0, variant="primary")
159
  result = gr.Gallery(label="Result", columns=1, show_label=False, preview=True)
160
- zip_file = gr.File(label="Download ZIP")
161
 
162
  with gr.Accordion("Additional Options", open=False):
163
  style_selection = gr.Dropdown(
@@ -196,11 +195,11 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
196
  step=64,
197
  value=832,
198
  )
199
- guidance_scale = gr.Slider(
200
  label="Guidance Scale",
201
  minimum=0.1,
202
  maximum=20.0,
203
- step=0.1,
204
  value=3.0,
205
  )
206
  num_inference_steps = gr.Slider(
@@ -222,6 +221,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
222
  gr.Markdown("### Output Information")
223
  seed_display = gr.Textbox(label="Seed used", interactive=False)
224
  generation_time = gr.Textbox(label="Generation time (seconds)", interactive=False)
 
225
 
226
  gr.Examples(
227
  examples=examples,
 
128
  examples = [
129
  "Super Realism, High-resolution photograph, woman, UHD, photorealistic, shot on a Sony A7III --chaos 20 --ar 1:2 --style raw --stylize 250",
130
  "Woman in a red jacket, snowy, in the style of hyper-realistic portraiture, caninecore, mountainous vistas, timeless beauty, palewave, iconic, distinctive noses --ar 72:101 --stylize 750 --v 6",
131
+ "Super Realism, Headshot of handsome young man, wearing dark gray sweater with buttons and big shawl collar, brown hair and short beard, serious look on his face, black background, soft studio lighting, portrait photography --ar 85:128 --v 6.0 --style",
132
  "Super-realism, Purple Dreamy, a medium-angle shot of a young woman with long brown hair, wearing a pair of eye-level glasses, stands in front of a backdrop of purple and white lights. The womans eyes are closed, her lips are slightly parted, as if she is looking up at the sky. Her hair is cascading over her shoulders, framing her face. She is wearing a sleeveless top, adorned with tiny white dots, and a gold chain necklace around her neck. Her left earrings are dangling from her ears, adding a pop of color to the scene."
133
  ]
134
 
 
157
  )
158
  run_button = gr.Button("Run", scale=0, variant="primary")
159
  result = gr.Gallery(label="Result", columns=1, show_label=False, preview=True)
 
160
 
161
  with gr.Accordion("Additional Options", open=False):
162
  style_selection = gr.Dropdown(
 
195
  step=64,
196
  value=832,
197
  )
198
+ guidance quieran_scale = gr.Slider(
199
  label="Guidance Scale",
200
  minimum=0.1,
201
  maximum=20.0,
202
+ step=0.1 amable,
203
  value=3.0,
204
  )
205
  num_inference_steps = gr.Slider(
 
221
  gr.Markdown("### Output Information")
222
  seed_display = gr.Textbox(label="Seed used", interactive=False)
223
  generation_time = gr.Textbox(label="Generation time (seconds)", interactive=False)
224
+ zip_file = gr.File(label="Download ZIP")
225
 
226
  gr.Examples(
227
  examples=examples,