KublaiKhan1 commited on
Commit
9c622c4
·
verified ·
1 Parent(s): 39b4ad5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -202,9 +202,9 @@ breakhis = gr.Interface(
202
  These 4 classes were selected from the full BreakHis dataset as they have sufficient patient counts (≥7 patients) for robust evaluation.
203
  For this particular demo, images *must* be one of the sample classes - unsupported classes will yield confusing and/or useless results.
204
  """,
205
- examples=["./data/breakhis/BreaKHis_v1/histology_slides/breast/benign/SOB/tubular_adenoma/SOB_B_TA_14-13200/40X/SOB_B_TA-14-13200-40-001.png",
206
- "./data/breakhis/BreaKHis_v1/histology_slides/breast/malignant/SOB/mucinous_carcinoma/SOB_M_MC_14-10147/40X/SOB_M_MC-14-10147-40-001.png",
207
- "./data/breakhis/BreaKHis_v1/histology_slides/breast/benign/SOB/fibroadenoma/SOB_B_F_14-14134/40X/SOB_B_F-14-14134-40-001.png",
208
  ], # You can add example image paths here
209
  theme=gr.themes.Soft()
210
  )
@@ -224,8 +224,8 @@ gleason = gr.Interface(
224
 
225
  For this particular demo, images *must* be one of the sample classes - unsupported classes will yield confusing and/or useless results.
226
  """,
227
- examples=["./data/arvaniti_gleason_patches/train_validation_patches_750/ZT111_4_A_1_12/ZT111_4_A_1_12_patch_13_class_2.jpg",
228
- "./data/arvaniti_gleason_patches/train_validation_patches_750/ZT204_6_A_1_10/ZT204_6_A_1_10_patch_10_class_3.jpg",
229
  #"",
230
  ], # You can add example image paths here
231
  theme=gr.themes.Soft()
@@ -246,9 +246,9 @@ crc = gr.Interface(
246
 
247
  For this particular demo, images *must* be one of the sample classes - unsupported classes will yield confusing and/or useless results.
248
  """,
249
- examples=["./data/crc/CRC-VAL-HE-7K/ADI/ADI-TCGA-AAICEQFN.tif",
250
- "./data/crc/CRC-VAL-HE-7K/BACK/BACK-TCGA-AARRNSTS.tif",
251
- "./data/crc/CRC-VAL-HE-7K/DEB/DEB-TCGA-AANNAWLE.tif",
252
  ], # You can add example image paths here
253
  theme=gr.themes.Soft()
254
  )
@@ -268,10 +268,10 @@ bach = gr.Interface(
268
 
269
  For this particular demo, images *must* be one of the sample classes - unsupported classes will yield confusing and/or useless results.
270
  """,
271
- examples=["./data/bach/ICIAR2018_BACH_Challenge/Photos/Benign/b001.tif",
272
- "./data/bach/ICIAR2018_BACH_Challenge/Photos/Normal/n001.tif",
273
- "./data/bach/ICIAR2018_BACH_Challenge/Photos/Benign/is001.tif",
274
- "./data/bach/ICIAR2018_BACH_Challenge/Photos/Benign/iv001.tif"
275
  ], # You can add example image paths here
276
  theme=gr.themes.Soft()
277
  )
 
202
  These 4 classes were selected from the full BreakHis dataset as they have sufficient patient counts (≥7 patients) for robust evaluation.
203
  For this particular demo, images *must* be one of the sample classes - unsupported classes will yield confusing and/or useless results.
204
  """,
205
+ examples=["./SOB_B_TA-14-13200-40-001.png",
206
+ "./SOB_M_MC-14-10147-40-001.png",
207
+ "./SOB_B_F-14-14134-40-001.png",
208
  ], # You can add example image paths here
209
  theme=gr.themes.Soft()
210
  )
 
224
 
225
  For this particular demo, images *must* be one of the sample classes - unsupported classes will yield confusing and/or useless results.
226
  """,
227
+ examples=["./ZT111_4_A_1_12_patch_13_class_2.jpg",
228
+ "./ZT204_6_A_1_10_patch_10_class_3.jpg",
229
  #"",
230
  ], # You can add example image paths here
231
  theme=gr.themes.Soft()
 
246
 
247
  For this particular demo, images *must* be one of the sample classes - unsupported classes will yield confusing and/or useless results.
248
  """,
249
+ examples=["./ADI-TCGA-AAICEQFN.png",
250
+ "./BACK-TCGA-AARRNSTS.png",
251
+ "./DEB-TCGA-AANNAWLE.png",
252
  ], # You can add example image paths here
253
  theme=gr.themes.Soft()
254
  )
 
268
 
269
  For this particular demo, images *must* be one of the sample classes - unsupported classes will yield confusing and/or useless results.
270
  """,
271
+ examples=["./b001.png",
272
+ "./n001.png",
273
+ "./is001.png",
274
+ "./iv001.png"
275
  ], # You can add example image paths here
276
  theme=gr.themes.Soft()
277
  )