Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,7 +109,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
| 109 |
gr.Markdown(DESCRIPTIONx)
|
| 110 |
|
| 111 |
with gr.Row():
|
| 112 |
-
with gr.Column(scale=
|
| 113 |
with gr.Row():
|
| 114 |
prompt = gr.Text(
|
| 115 |
show_label=False,
|
|
@@ -177,13 +177,13 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
| 177 |
step=1,
|
| 178 |
value=23,
|
| 179 |
)
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
use_negative_prompt.change(
|
| 188 |
fn=lambda x: gr.update(visible=x),
|
| 189 |
inputs=use_negative_prompt,
|
|
|
|
| 109 |
gr.Markdown(DESCRIPTIONx)
|
| 110 |
|
| 111 |
with gr.Row():
|
| 112 |
+
with gr.Column(scale=3):
|
| 113 |
with gr.Row():
|
| 114 |
prompt = gr.Text(
|
| 115 |
show_label=False,
|
|
|
|
| 177 |
step=1,
|
| 178 |
value=23,
|
| 179 |
)
|
| 180 |
+
with gr.Column(scale=1):
|
| 181 |
+
gr.Examples(
|
| 182 |
+
examples=examples,
|
| 183 |
+
inputs=prompt,
|
| 184 |
+
cache_examples=False,
|
| 185 |
+
)
|
| 186 |
+
|
| 187 |
use_negative_prompt.change(
|
| 188 |
fn=lambda x: gr.update(visible=x),
|
| 189 |
inputs=use_negative_prompt,
|