Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
303408d
1
Parent(s):
1c4b3d4
Update app.py
Browse files
app.py
CHANGED
|
@@ -155,15 +155,14 @@ with gr.Blocks(css="footer{display:none !important}", theme=theme) as demo:
|
|
| 155 |
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
| 156 |
)
|
| 157 |
with gr.Group():
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
run_button = gr.Button("Run", scale=0)
|
| 167 |
result = gr.Image(label="Result", show_label=False)
|
| 168 |
with gr.Accordion("Advanced options", open=False):
|
| 169 |
with gr.Row():
|
|
|
|
| 155 |
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
| 156 |
)
|
| 157 |
with gr.Group():
|
| 158 |
+
prompt = gr.Text(
|
| 159 |
+
label="Prompt",
|
| 160 |
+
show_label=False,
|
| 161 |
+
max_lines=1,
|
| 162 |
+
placeholder="Enter your prompt",
|
| 163 |
+
container=False,
|
| 164 |
+
)
|
| 165 |
+
run_button = gr.Button("Run", scale=0)
|
|
|
|
| 166 |
result = gr.Image(label="Result", show_label=False)
|
| 167 |
with gr.Accordion("Advanced options", open=False):
|
| 168 |
with gr.Row():
|