Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
126 |
],
|
127 |
-
captions=["sample 1","sample 2","sample 3"
|
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')
|