mokady commited on
Commit
9dc6cbb
1 Parent(s): 36b1b5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ with image_blocks as demo:
102
  ''')
103
  with gr.Row():
104
  with gr.Column():
105
- image = gr.Image(source='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload",height=400)
106
  with gr.Row(elem_id="prompt-container", mobile_collapse=False, equal_height=True):
107
  with gr.Row():
108
  prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
 
102
  ''')
103
  with gr.Row():
104
  with gr.Column():
105
+ image = gr.Image(label="Input Image", interactive=True, elem_id="input_image")
106
  with gr.Row(elem_id="prompt-container", mobile_collapse=False, equal_height=True):
107
  with gr.Row():
108
  prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")