mikonvergence commited on
Commit
7682ec6
1 Parent(s): 50b80c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -91,7 +91,7 @@ def create_demo():
91
  with gr.Row() as main_blocks:
92
  with gr.Column() as step_1:
93
  gr.Markdown('### Mask Input')
94
- image = gr.Image(source='upload',
95
  shape=[HEIGHT,WIDTH],
96
  type='pil',#numpy',
97
  elem_classes="image_upload",
@@ -102,7 +102,7 @@ def create_demo():
102
  mask_button = gr.Button(value='Set Mask')
103
  with gr.Column(visible=False) as step_2:
104
  gr.Markdown('### Sketch Input')
105
- sketch = gr.Image(source='upload',
106
  shape=[HEIGHT,WIDTH],
107
  type='pil',#'numpy',
108
  elem_classes="image_upload",
 
91
  with gr.Row() as main_blocks:
92
  with gr.Column() as step_1:
93
  gr.Markdown('### Mask Input')
94
+ image = gr.Image(sources=['upload'],
95
  shape=[HEIGHT,WIDTH],
96
  type='pil',#numpy',
97
  elem_classes="image_upload",
 
102
  mask_button = gr.Button(value='Set Mask')
103
  with gr.Column(visible=False) as step_2:
104
  gr.Markdown('### Sketch Input')
105
+ sketch = gr.Image(sources=['upload'],
106
  shape=[HEIGHT,WIDTH],
107
  type='pil',#'numpy',
108
  elem_classes="image_upload",