yizhangliu commited on
Commit
c5e6841
·
1 Parent(s): 3567a33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -313,7 +313,7 @@ with image_blocks as demo:
313
  with gr.Box():
314
  with gr.Row():
315
  with gr.Column():
316
- image = gr.Image(source='upload', elem_id="image_upload", tool='sketch', type=f'{image_type}', label="Upload").style(height=512)
317
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
318
  # prompt = gr.Textbox(placeholder = 'Your prompt (what you want in place of what is erased)', show_label=False, elem_id="input-text")
319
  btn_in = gr.Button("Done!").style(
 
313
  with gr.Box():
314
  with gr.Row():
315
  with gr.Column():
316
+ image = gr.Image(source='upload', elem_id="image_upload", tool='sketch,editor', type=f'{image_type}', label="Upload").style(height=512)
317
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
318
  # prompt = gr.Textbox(placeholder = 'Your prompt (what you want in place of what is erased)', show_label=False, elem_id="input-text")
319
  btn_in = gr.Button("Done!").style(