oohtmeel commited on
Commit
d714f25
1 Parent(s): 316e25b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -40,8 +40,8 @@ from PIL import Image
40
  abc= hf_hub_download(repo_id="oohtmeel/swin-tiny-patch4-finetuned-lung-cancer-ct-scans",
41
  filename="_X000a109d-56da-4c3f-8680-55afa04d6ae0.dcm.jpg.jpg")
42
  image = Image.open(abc)
43
- processor = AutoImageProcessor.from_pretrained("microsoft/swin-tiny-patch4-window7-224")
44
- model = AutoModelForImageClassification.from_pretrained("microsoft/swin-tiny-patch4-window7-224")
45
  inputs = processor(images=image, return_tensors="pt")
46
  outputs = model(**inputs)
47
  logits = outputs.logits
 
40
  abc= hf_hub_download(repo_id="oohtmeel/swin-tiny-patch4-finetuned-lung-cancer-ct-scans",
41
  filename="_X000a109d-56da-4c3f-8680-55afa04d6ae0.dcm.jpg.jpg")
42
  image = Image.open(abc)
43
+ processor = AutoImageProcessor.from_pretrained("oohtmeel/swin-tiny-patch4-finetuned-lung-cancer-ct-scans")
44
+ model = AutoModelForImageClassification.from_pretrained("oohtmeel/swin-tiny-patch4-finetuned-lung-cancer-ct-scans")
45
  inputs = processor(images=image, return_tensors="pt")
46
  outputs = model(**inputs)
47
  logits = outputs.logits