Spaces:
Running
Running
import gradio as gr | |
examples = [ | |
["Nevus_NCI.jpg"], | |
["melanoma_example.jpg"], | |
# Add more images as needed | |
] | |
import gradio as gr | |
# Add examples if you have them | |
examples = [ | |
["example_images/image1.jpg"], | |
["example_images/image2.jpg"], | |
# more examples | |
] | |
# Add a title and description | |
title = "๐๐ฉโโ๏ธ๐จโโ๏ธSkin Cancer Image Classification" | |
description = "English: This demo app classifies skin cancer images into different categories using a pre-trained model.\nUpload your own image or use one of the examples to see the results. ๐ผ๏ธโจ\n\nItalian: Questa demo classifica le immagini di cancro della pelle in diverse categorie utilizzando un modello pre-addestrato.\nCarica la tua immagine o usa uno degli esempi per vedere i risultati. ๐ผ๏ธโจ" | |
# Load the model and launch the app with title, description, and examples | |
gr.load("models/Anwarkh1/Skin_Cancer-Image_Classification", examples=examples, title=title, description=description).launch() | |