Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
308ba89
1
Parent(s):
1190b12
Display the information when it's needed (#1)
Browse files- Display the information when it's needed (7a67ea83d56d37b7d33bf3604df178ee23e4f506)
Co-authored-by: Fabrice TIERCELIN <[email protected]>
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
|
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,
|