DHEIVER commited on
Commit
4858eb6
·
1 Parent(s): 21e2e72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
  from transformers import ViTFeatureExtractor, ViTForImageClassification
4
 
5
  # Carregue o modelo ViT
6
- model_name = "google/vit-base-patch16-224-in21k"
7
  feature_extractor = ViTFeatureExtractor.from_pretrained(model_name)
8
  model = ViTForImageClassification.from_pretrained(model_name)
9
 
 
3
  from transformers import ViTFeatureExtractor, ViTForImageClassification
4
 
5
  # Carregue o modelo ViT
6
+ model_name = "mrm8488/vit-base-patch16-224_finetuned-kvasirv2-colonoscopy"
7
  feature_extractor = ViTFeatureExtractor.from_pretrained(model_name)
8
  model = ViTForImageClassification.from_pretrained(model_name)
9