linoyts HF Staff commited on
Commit
73ff513
·
verified ·
1 Parent(s): 5491a03

change #edit default to 3

Browse files

for faster inference and improved ux

Files changed (1) hide show
  1. app.py +1 -1
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=5, minimum=1, maximum=20, step=1, label="Number of Edits", precision=0)
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",