Jangai commited on
Commit
4953cc3
·
verified ·
1 Parent(s): cc33316

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import logging
9
  logging.basicConfig(level=logging.DEBUG)
10
 
11
  # Load the pre-trained model and feature extractor
12
- model_name = "google/vit-base-patch16-224-in21k"
13
  logging.info("Loading image processor and model...")
14
  feature_extractor = AutoFeatureExtractor.from_pretrained(model_name)
15
  model = AutoModelForImageClassification.from_pretrained(model_name)
 
9
  logging.basicConfig(level=logging.DEBUG)
10
 
11
  # Load the pre-trained model and feature extractor
12
+ model_name = "google/vit-base-patch16-224"
13
  logging.info("Loading image processor and model...")
14
  feature_extractor = AutoFeatureExtractor.from_pretrained(model_name)
15
  model = AutoModelForImageClassification.from_pretrained(model_name)