Amordia commited on
Commit
95025bb
·
verified ·
1 Parent(s): f33ce12

Change the function gr.Image to Gr.ImageEditor

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -412,7 +412,7 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_lg)) as de
412
 
413
  with gr.Tab("Clicks/Boxes") as click_tab:
414
  # Update click_img to be interactive and use the selected tool
415
- click_img = gr.Image(
416
  label="Input",
417
  type='numpy',
418
  value=default_example,
 
412
 
413
  with gr.Tab("Clicks/Boxes") as click_tab:
414
  # Update click_img to be interactive and use the selected tool
415
+ click_img = gr.ImageEditor(
416
  label="Input",
417
  type='numpy',
418
  value=default_example,