Spaces:
vilarin
/
Running on Zero

Display the information when it's needed

#1
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -109,10 +109,10 @@ examples = [
109
 
110
  with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
111
  gr.HTML("<h1><center>SD3M🦄</center></h1>")
112
- gr.HTML("<p><center><a href='https://huggingface.co/stabilityai/stable-diffusion-3-medium'>sd3m</a> text-to-image generation</center><br><center>Multi-Languages. Seed -1 Get Random.</center></p>")
113
  with gr.Group():
114
  with gr.Row():
115
- prompt = gr.Textbox(label='Enter Your Prompt', value="best quality, HD, aesthetic", scale=6)
116
  submit = gr.Button(scale=1, variant='primary')
117
  img = gr.Image(label='SD3M Generated Image')
118
  with gr.Accordion("Advanced Options", open=False):
@@ -148,8 +148,9 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
148
  step=1,
149
  value=30,
150
  )
 
151
  seed = gr.Slider(
152
- label="Seed",
153
  minimum=-1,
154
  maximum=10000000000000,
155
  step=1,
 
109
 
110
  with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
111
  gr.HTML("<h1><center>SD3M🦄</center></h1>")
112
+ gr.HTML("<p><center><a href='https://huggingface.co/stabilityai/stable-diffusion-3-medium'>sd3m</a> text-to-image generation</center></p>")
113
  with gr.Group():
114
  with gr.Row():
115
+ prompt = gr.Textbox(label='Enter Your Prompt (Multi-Languages)', value="best quality, HD, aesthetic", scale=6)
116
  submit = gr.Button(scale=1, variant='primary')
117
  img = gr.Image(label='SD3M Generated Image')
118
  with gr.Accordion("Advanced Options", open=False):
 
148
  step=1,
149
  value=30,
150
  )
151
+ with gr.Row():
152
  seed = gr.Slider(
153
+ label="Seed (-1 Get Random)",
154
  minimum=-1,
155
  maximum=10000000000000,
156
  step=1,