skincancer / README.md
DayanaRR00456's picture
Create README.md
45f799d verified
metadata
language: en
tags:
  - skin-cancer
  - image-classification
  - keras
  - tensorflow

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())