Update predict
Browse files
predict
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
!pip install transformers
|
| 3 |
import torch
|
| 4 |
from transformers import pipeline
|
| 5 |
-
model_name =
|
| 6 |
classifier = pipeline("text-classification", model=model_name)
|
| 7 |
|
| 8 |
text = "Skin lesion description" # Replace with the skin lesion description you want to predict
|
|
|
|
| 2 |
!pip install transformers
|
| 3 |
import torch
|
| 4 |
from transformers import pipeline
|
| 5 |
+
model_name = skin_lesion_detection_model.h5 # Replace with the name or path of the pre-trained model
|
| 6 |
classifier = pipeline("text-classification", model=model_name)
|
| 7 |
|
| 8 |
text = "Skin lesion description" # Replace with the skin lesion description you want to predict
|