ahishamm commited on
Commit
22e2d48
·
1 Parent(s): ab454e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -117,14 +117,12 @@ ds = load_dataset('ahishamm/combined_masks',split='train')
117
  s1 = ds[0]['image']
118
  s2 = ds[1]['image']
119
  s3 = ds[2]['image']
120
- s4 = ds[3]['image']
121
- image_arr = [s1,s2,s3,s4]
122
  img = image_select(
123
  label="Select a Skin Lesion Image",
124
  images=[
125
- s1,s2,s3,s4
126
  ],
127
- captions=["sample 1","sample 2","sample 3","sample 4"],
128
  return_value='index'
129
  )
130
  processor = AutoProcessor.from_pretrained('ahishamm/skinsam')
 
117
  s1 = ds[0]['image']
118
  s2 = ds[1]['image']
119
  s3 = ds[2]['image']
 
 
120
  img = image_select(
121
  label="Select a Skin Lesion Image",
122
  images=[
123
+ s1,s2,s3
124
  ],
125
+ captions=["sample 1","sample 2","sample 3"],
126
  return_value='index'
127
  )
128
  processor = AutoProcessor.from_pretrained('ahishamm/skinsam')