Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -490,13 +490,14 @@ with gr.Blocks(css=css) as demo:
|
|
| 490 |
final_prompt = gr.Textbox(label="Processed prompt", visible=False)
|
| 491 |
|
| 492 |
with gr.Row():
|
| 493 |
-
|
| 494 |
-
|
| 495 |
-
|
| 496 |
-
|
| 497 |
-
|
| 498 |
-
|
| 499 |
-
|
|
|
|
| 500 |
|
| 501 |
with gr.Accordion("Advanced Settings", open=False):
|
| 502 |
seed = gr.Slider(
|
|
|
|
| 490 |
final_prompt = gr.Textbox(label="Processed prompt", visible=False)
|
| 491 |
|
| 492 |
with gr.Row():
|
| 493 |
+
with gr.Column():
|
| 494 |
+
prompt = gr.Text(
|
| 495 |
+
label="Edit Instruction",
|
| 496 |
+
show_label=False,
|
| 497 |
+
placeholder="describe the edit instruction",
|
| 498 |
+
container=False,
|
| 499 |
+
)
|
| 500 |
+
run_button = gr.Button("Edit!", variant="primary")
|
| 501 |
|
| 502 |
with gr.Accordion("Advanced Settings", open=False):
|
| 503 |
seed = gr.Slider(
|