Junfeng5 commited on
Commit
b205102
1 Parent(s): ca7570a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -895,16 +895,14 @@ def visual_prompt_preview(img, prompt_mode):
895
  ret = ret.astype('uint8')
896
  return ret
897
 
898
-
899
-
900
  image_example_list = [
901
  [
902
  this_dir + "/Examples/000000480122.jpg",
903
  "categories",
904
- "OBJ365",
905
  "",
906
  "",
907
- 50,
908
  ],
909
  [
910
  this_dir + "/Examples/20231222.jpg",
@@ -912,6 +910,7 @@ image_example_list = [
912
  "COCO-80",
913
  "",
914
  "a purple star holding by a person ",
 
915
  ],
916
  [
917
  this_dir + "/Examples/000000001000.jpg",
@@ -919,6 +918,7 @@ image_example_list = [
919
  "COCO-80",
920
  "",
921
  "the left boy",
 
922
  ],
923
  [
924
  this_dir + "/Examples/000000001000.jpg",
@@ -926,11 +926,12 @@ image_example_list = [
926
  "COCO-80",
927
  "",
928
  "the left girl",
 
929
  ],
930
  [
931
  this_dir + "/Examples/1.png",
932
  "categories",
933
- "Custom-List",
934
  "manholecover, bollard, person, car, motobike",
935
  "",
936
  10,
@@ -966,7 +967,7 @@ image_example_list = [
966
  "COCO-80",
967
  "",
968
  "",
969
- "20",
970
  ],
971
  [
972
  this_dir + "/Examples/1.png",
@@ -1033,7 +1034,7 @@ video_example_list = [
1033
  [
1034
  this_dir + "/Examples/horse.mp4",
1035
  "expression",
1036
- "",
1037
  "",
1038
  "the left horse",
1039
  10,
 
895
  ret = ret.astype('uint8')
896
  return ret
897
 
 
 
898
  image_example_list = [
899
  [
900
  this_dir + "/Examples/000000480122.jpg",
901
  "categories",
902
+ "COCO-80",
903
  "",
904
  "",
905
+ 30,
906
  ],
907
  [
908
  this_dir + "/Examples/20231222.jpg",
 
910
  "COCO-80",
911
  "",
912
  "a purple star holding by a person ",
913
+ 1,
914
  ],
915
  [
916
  this_dir + "/Examples/000000001000.jpg",
 
918
  "COCO-80",
919
  "",
920
  "the left boy",
921
+ 1,
922
  ],
923
  [
924
  this_dir + "/Examples/000000001000.jpg",
 
926
  "COCO-80",
927
  "",
928
  "the left girl",
929
+ 1,
930
  ],
931
  [
932
  this_dir + "/Examples/1.png",
933
  "categories",
934
+ "Custom-List",
935
  "manholecover, bollard, person, car, motobike",
936
  "",
937
  10,
 
967
  "COCO-80",
968
  "",
969
  "",
970
+ 20,
971
  ],
972
  [
973
  this_dir + "/Examples/1.png",
 
1034
  [
1035
  this_dir + "/Examples/horse.mp4",
1036
  "expression",
1037
+ "COCO-80",
1038
  "",
1039
  "the left horse",
1040
  10,