niulx commited on
Commit
88dbfdf
1 Parent(s): ca0b5e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -158,8 +158,7 @@ def image_change():
158
  os.unlink(file_path)
159
  elif os.path.isdir(file_path):
160
  shutil.rmtree(file_path)
161
- return gr.Button("1.2 Load original masks",visible = False), gr.Button("1.2 Load edited masks",visible = False), gr.Checkbox(label = "Show Segmentation",visible = False)
162
-
163
 
164
  def button_clickable(is_clickable):
165
  return gr.Button(interactive=is_clickable)
 
158
  os.unlink(file_path)
159
  elif os.path.isdir(file_path):
160
  shutil.rmtree(file_path)
161
+ return gr.Button("1.2 Load original masks",visible = False)
 
162
 
163
  def button_clickable(is_clickable):
164
  return gr.Button(interactive=is_clickable)