Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ else:
|
|
10 |
device = "cpu"
|
11 |
|
12 |
encoder_checkpoint = "google/vit-base-patch16-224-in21k"
|
13 |
-
decoder_checkpoint = "
|
14 |
model_checkpoint = "gagan3012/ViTGPT2I2A"
|
15 |
feature_extractor = ViTFeatureExtractor.from_pretrained(encoder_checkpoint)
|
16 |
tokenizer = AutoTokenizer.from_pretrained(decoder_checkpoint)
|
|
|
10 |
device = "cpu"
|
11 |
|
12 |
encoder_checkpoint = "google/vit-base-patch16-224-in21k"
|
13 |
+
decoder_checkpoint = "gpt2"
|
14 |
model_checkpoint = "gagan3012/ViTGPT2I2A"
|
15 |
feature_extractor = ViTFeatureExtractor.from_pretrained(encoder_checkpoint)
|
16 |
tokenizer = AutoTokenizer.from_pretrained(decoder_checkpoint)
|