Spaces:
Running
on
Zero
Running
on
Zero
change #edit default to 3
#1
by
linoyts
HF Staff
- opened
app.py
CHANGED
|
@@ -666,7 +666,7 @@ with gr.Blocks() as demo:
|
|
| 666 |
with gr.Row(equal_height=True):
|
| 667 |
with gr.Column(scale=1):
|
| 668 |
upload_text = gr.Textbox(lines=1, label="Enter Editing Prompt", placeholder="Describe the edit you want...")
|
| 669 |
-
upload_n_edits = gr.Number(value=
|
| 670 |
upload_image = gr.Image(
|
| 671 |
type="pil",
|
| 672 |
label="Upload Image",
|
|
|
|
| 666 |
with gr.Row(equal_height=True):
|
| 667 |
with gr.Column(scale=1):
|
| 668 |
upload_text = gr.Textbox(lines=1, label="Enter Editing Prompt", placeholder="Describe the edit you want...")
|
| 669 |
+
upload_n_edits = gr.Number(value=3, minimum=1, maximum=6, step=1, label="Number of Edits", precision=0)
|
| 670 |
upload_image = gr.Image(
|
| 671 |
type="pil",
|
| 672 |
label="Upload Image",
|