Spaces:
vilarin
/
Running on Zero

vilarin commited on
Commit
8a9699c
·
verified ·
1 Parent(s): ee06822

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -162,8 +162,8 @@ examples = [
162
  # Gradio Interface
163
 
164
  with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
165
- gr.HTML("<h1><center>SD3M🐉</center></h1>")
166
- gr.HTML("<p><center><a href='https://huggingface.co/stabilityai/stable-diffusion-3-medium'>sd3m🐉</a> text/image-to-image generation<br><b>Update</b>: fix diffuser to support 512 token</center></p>")
167
  with gr.Group():
168
  with gr.Row():
169
  prompt = gr.MultimodalTextbox(label='Enter Your Prompt (Multi-Languages)', interactive=True, placeholder="Enter prompt, add one image.", file_types=['image'], scale=1)
@@ -212,7 +212,7 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
212
  seed = gr.Slider(
213
  label="Seed (-1 Get Random)",
214
  minimum=-1,
215
- maximum=10000000000000,
216
  step=1,
217
  value=-1,
218
  scale=2,
 
162
  # Gradio Interface
163
 
164
  with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
165
+ gr.HTML("<h1><center>SD3M🐉T5</center></h1>")
166
+ gr.HTML("<p><center><a href='https://huggingface.co/stabilityai/stable-diffusion-3-medium'>sd3m</a> text/image-to-image generation<br><b>Update</b>: fix diffuser to support 512 token</center></p>")
167
  with gr.Group():
168
  with gr.Row():
169
  prompt = gr.MultimodalTextbox(label='Enter Your Prompt (Multi-Languages)', interactive=True, placeholder="Enter prompt, add one image.", file_types=['image'], scale=1)
 
212
  seed = gr.Slider(
213
  label="Seed (-1 Get Random)",
214
  minimum=-1,
215
+ maximum=MAX_SEED,
216
  step=1,
217
  value=-1,
218
  scale=2,