Alcina commited on
Commit
07b2b6d
·
1 Parent(s): 12f4358

Update predict

Browse files
Files changed (1) hide show
  1. predict +1 -1
predict CHANGED
@@ -2,7 +2,7 @@
2
  !pip install transformers
3
  import torch
4
  from transformers import pipeline
5
- model_name = "model_name" # 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
 
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