GastonMazzei commited on
Commit
1507ff3
·
1 Parent(s): e054a22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -230,17 +230,17 @@ def inpaint(input_img, input_img_with_mask, prompt):
230
  return source_mask_64_img, show_images(up_samples)
231
 
232
  gradio_inputs = [
233
- #gr.inputs.Image(type='pil',
234
- # label="Input Image"),
235
- # gr.inputs.Image(type='pil',
236
- # label="Input Image With Mask"),
237
- Oimg,Omask,
238
  gr.inputs.Textbox(label='Conditional Text to Inpaint')]
239
 
240
  # gradio_outputs = [gr.outputs.Image(label='Auto-Detected Mask (From drawn black pixels)')]
241
 
242
  gradio_outputs = [
243
- #gr.outputs.Image(label='Auto-Detected Mask (From drawn black pixels)'),
244
  gr.outputs.Image(label='Inpainted Image')]
245
  examples = [['grass.png', 'grass_with_mask.png', 'a corgi in a field']]
246
 
 
230
  return source_mask_64_img, show_images(up_samples)
231
 
232
  gradio_inputs = [
233
+ gr.inputs.Image(type='pil',
234
+ label="Input Image"),
235
+ gr.inputs.Image(type='pil',
236
+ label="Input Image With Mask"),
237
+ #Oimg,Omask,
238
  gr.inputs.Textbox(label='Conditional Text to Inpaint')]
239
 
240
  # gradio_outputs = [gr.outputs.Image(label='Auto-Detected Mask (From drawn black pixels)')]
241
 
242
  gradio_outputs = [
243
+ gr.outputs.Image(label='Auto-Detected Mask (From drawn black pixels)'),
244
  gr.outputs.Image(label='Inpainted Image')]
245
  examples = [['grass.png', 'grass_with_mask.png', 'a corgi in a field']]
246