Update app.py
Browse files
app.py
CHANGED
@@ -201,6 +201,11 @@ with gr.Blocks(css=css, theme=theme) as app:
|
|
201 |
with gr.Tab("Basic Settings"):
|
202 |
with gr.Row():
|
203 |
prompt = gr.Textbox(placeholder="Enter the image description...", show_label=True, label='Image Prompt ✍️', lines=3, show_copy_button = True)
|
|
|
|
|
|
|
|
|
|
|
204 |
with gr.Row():
|
205 |
task = gr.Radio(interactive=True, value="Stable Diffusion XL 1.0", show_label=True, label="Model of neural network 🧠 ", choices=['Stable Diffusion XL 1.0', 'Crystal Clear XL',
|
206 |
'Juggernaut XL', 'DreamShaper XL',
|
@@ -233,10 +238,7 @@ with gr.Blocks(css=css, theme=theme) as app:
|
|
233 |
gfpgan = gr.Slider(show_label=True, label="Effect GFPGAN (For facial improvement)", minimum=0, maximum=1, value=0, step=0.1)
|
234 |
with gr.Row():
|
235 |
codeformer = gr.Slider(show_label=True, label="Effect CodeFormer (Improve the face)", minimum=0, maximum=1, value=0, step=0.1)
|
236 |
-
|
237 |
-
examples = examples,
|
238 |
-
inputs = [prompt],
|
239 |
-
)
|
240 |
|
241 |
with gr.Column():
|
242 |
text_button = gr.Button("Generate image", variant="primary", interactive=True, elem_id="generate")
|
|
|
201 |
with gr.Tab("Basic Settings"):
|
202 |
with gr.Row():
|
203 |
prompt = gr.Textbox(placeholder="Enter the image description...", show_label=True, label='Image Prompt ✍️', lines=3, show_copy_button = True)
|
204 |
+
with gr.Row():
|
205 |
+
gr.Examples(
|
206 |
+
examples = examples,
|
207 |
+
inputs = [prompt],
|
208 |
+
)
|
209 |
with gr.Row():
|
210 |
task = gr.Radio(interactive=True, value="Stable Diffusion XL 1.0", show_label=True, label="Model of neural network 🧠 ", choices=['Stable Diffusion XL 1.0', 'Crystal Clear XL',
|
211 |
'Juggernaut XL', 'DreamShaper XL',
|
|
|
238 |
gfpgan = gr.Slider(show_label=True, label="Effect GFPGAN (For facial improvement)", minimum=0, maximum=1, value=0, step=0.1)
|
239 |
with gr.Row():
|
240 |
codeformer = gr.Slider(show_label=True, label="Effect CodeFormer (Improve the face)", minimum=0, maximum=1, value=0, step=0.1)
|
241 |
+
|
|
|
|
|
|
|
242 |
|
243 |
with gr.Column():
|
244 |
text_button = gr.Button("Generate image", variant="primary", interactive=True, elem_id="generate")
|