yizhangliu commited on
Commit
be01e69
·
1 Parent(s): 9400c80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -446,7 +446,7 @@ with image_blocks as demo:
446
  with gr.Box():
447
  with gr.Row():
448
  with gr.Column():
449
- image = gr.Image(source='upload', tool='sketch', type='file',label="Upload").style(height=512)
450
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
451
  # prompt = gr.Textbox(placeholder = 'Your prompt (what you want in place of what is erased)', show_label=False, elem_id="input-text")
452
  btn = gr.Button("Done!").style(
 
446
  with gr.Box():
447
  with gr.Row():
448
  with gr.Column():
449
+ image = gr.Image(source='upload', tool='sketch', type='filepath',label="Upload").style(height=512)
450
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
451
  # prompt = gr.Textbox(placeholder = 'Your prompt (what you want in place of what is erased)', show_label=False, elem_id="input-text")
452
  btn = gr.Button("Done!").style(