HarborYuan commited on
Commit
70aa930
·
verified ·
1 Parent(s): a74b2e1

close the cache in space

Browse files
Files changed (1) hide show
  1. main.py +4 -2
main.py CHANGED
@@ -328,7 +328,8 @@ def register_point_mode():
328
  outputs=[img_state_points, cond_img_p, segm_img_p, cls_info],
329
  examples_per_page=12,
330
  fn=extract_img_feat,
331
- run_on_click=True
 
332
  )
333
 
334
  # box mode tab
@@ -358,7 +359,8 @@ def register_point_mode():
358
  outputs=[img_state_bbox, cond_img_bbox, segm_img_bbox, cls_info_bbox],
359
  examples_per_page=12,
360
  fn=extract_img_feat,
361
- run_on_click=True
 
362
  )
363
 
364
  # extract image feature
 
328
  outputs=[img_state_points, cond_img_p, segm_img_p, cls_info],
329
  examples_per_page=12,
330
  fn=extract_img_feat,
331
+ run_on_click=True,
332
+ cache_examples=False,
333
  )
334
 
335
  # box mode tab
 
359
  outputs=[img_state_bbox, cond_img_bbox, segm_img_bbox, cls_info_bbox],
360
  examples_per_page=12,
361
  fn=extract_img_feat,
362
+ run_on_click=True,
363
+ cache_examples=False,
364
  )
365
 
366
  # extract image feature