Skin Cancer Detector Model
This is a deep learning model trained with Keras to classify skin lesions into benign or malignant categories. It accepts JPG or PNG image inputs of size 300x300 pixels.
How to use
You can use this model via Hugging Face API Inference like so:
import requests
API_URL = "https://api-inference.huggingface.co/models/DayanaRR00456/skin-cancer-detector"
headers = {"Authorization": "Bearer <YOUR_HF_TOKEN>"}
response = requests.post(
API_URL,
headers=headers,
files={"file": open("image.jpg", "rb")},
)
print(response.json())
- Downloads last month
- 7