Akjava commited on
Commit
13500a1
1 Parent(s): a223591
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,7 +72,7 @@ with demo_blocks as demo:
72
  with gr.Row():
73
  prompt = gr.Textbox(label="Prompt",value="a eyes closed girl,shut eyes",placeholder="Your prompt (what you want in place of what is erased)", elem_id="prompt")
74
 
75
- btn = gr.Button("Inpaint!", elem_id="run_button")
76
 
77
  image_mask = gr.Image(sources=['upload','clipboard'], elem_id="mask_upload", type="pil", label="Mask_Upload",height=400, value=None)
78
  with gr.Accordion(label="Advanced Settings", open=False):
@@ -89,7 +89,7 @@ with demo_blocks as demo:
89
 
90
 
91
 
92
- btn.click(fn=process_images, inputs=[image, image_mask,prompt,inpaint_model,strength,seed], outputs =image_out, api_name='infer',variant="primary")
93
  gr.Examples(
94
  examples=[
95
  ["images/00547245_99.jpg", "images/00547245_99_mask.jpg","a beautiful girl,eyes closed",0.8,"00547245"],
 
72
  with gr.Row():
73
  prompt = gr.Textbox(label="Prompt",value="a eyes closed girl,shut eyes",placeholder="Your prompt (what you want in place of what is erased)", elem_id="prompt")
74
 
75
+ btn = gr.Button("Inpaint", elem_id="run_button",variant="primary")
76
 
77
  image_mask = gr.Image(sources=['upload','clipboard'], elem_id="mask_upload", type="pil", label="Mask_Upload",height=400, value=None)
78
  with gr.Accordion(label="Advanced Settings", open=False):
 
89
 
90
 
91
 
92
+ btn.click(fn=process_images, inputs=[image, image_mask,prompt,inpaint_model,strength,seed], outputs =image_out, api_name='infer')
93
  gr.Examples(
94
  examples=[
95
  ["images/00547245_99.jpg", "images/00547245_99_mask.jpg","a beautiful girl,eyes closed",0.8,"00547245"],