Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ datasets:
|
|
| 5 |
metrics:
|
| 6 |
- accuracy
|
| 7 |
pipeline_tag: image-classification
|
| 8 |
-
library_name:
|
| 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())
|