Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
166 |
-
gr.HTML("<p><center><a href='https://huggingface.co/stabilityai/stable-diffusion-3-medium'>sd3m
|
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=
|
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,
|