sreejith782 commited on
Commit
63250bf
·
verified ·
1 Parent(s): cb206c0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -5,7 +5,7 @@ datasets:
5
  metrics:
6
  - accuracy
7
  pipeline_tag: image-classification
8
- library_name: keras
9
  ---
10
 
11
  # Dermacare Skin Lesion Classification
@@ -29,4 +29,4 @@ API_URL = "https://api-inference.huggingface.co/models/sreejith782/Dermacare_Ski
29
  headers = {"Authorization": "Bearer YOUR_HUGGING_FACE_TOKEN"}
30
 
31
  response = requests.post(API_URL, headers=headers, files={"inputs": open("path_to_image.jpg", "rb")})
32
- print(response.json())
 
5
  metrics:
6
  - accuracy
7
  pipeline_tag: image-classification
8
+ library_name: transformers
9
  ---
10
 
11
  # Dermacare Skin Lesion Classification
 
29
  headers = {"Authorization": "Bearer YOUR_HUGGING_FACE_TOKEN"}
30
 
31
  response = requests.post(API_URL, headers=headers, files={"inputs": open("path_to_image.jpg", "rb")})
32
+ print(response.json())