Spaces:
Sleeping
Sleeping
remove article
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ example_names = ["actinic_keratoses","basal_cell_carcinoma","melanocytic_Nevi"]
|
|
| 11 |
|
| 12 |
title = "Skin Cancer Classifier"
|
| 13 |
description = "An ViT computer vision model to classify images from HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions. <br/> List: benign_keratosis-like_lesions, basal_cell_carcinoma, actinic_keratoses, dermatofibroma, melanocytic_Nevi"
|
| 14 |
-
article = "https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/DBW86T"
|
| 15 |
|
| 16 |
# Create examples list from "examples/" directory
|
| 17 |
example_list = [["examples/" + example, example.split('_')[0]] for example in os.listdir("examples")]
|
|
@@ -34,8 +34,8 @@ demo = gr.Interface(fn=predict, # mapping function from input to output
|
|
| 34 |
examples=example_list,
|
| 35 |
title=title,
|
| 36 |
description=description,
|
| 37 |
-
article=article,
|
| 38 |
example_labels=example_names)
|
| 39 |
|
| 40 |
# Launch the demo!
|
| 41 |
-
demo.launch() # generate a publically shareable URL?
|
|
|
|
|
|
| 11 |
|
| 12 |
title = "Skin Cancer Classifier"
|
| 13 |
description = "An ViT computer vision model to classify images from HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions. <br/> List: benign_keratosis-like_lesions, basal_cell_carcinoma, actinic_keratoses, dermatofibroma, melanocytic_Nevi"
|
| 14 |
+
# article = "https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/DBW86T"
|
| 15 |
|
| 16 |
# Create examples list from "examples/" directory
|
| 17 |
example_list = [["examples/" + example, example.split('_')[0]] for example in os.listdir("examples")]
|
|
|
|
| 34 |
examples=example_list,
|
| 35 |
title=title,
|
| 36 |
description=description,
|
|
|
|
| 37 |
example_labels=example_names)
|
| 38 |
|
| 39 |
# Launch the demo!
|
| 40 |
+
demo.launch() # generate a publically shareable URL?d
|
| 41 |
+
# ?d
|