Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ print(encoder_name_or_path,decoder_name_or_path,)
|
|
54 |
model = VisionEncoderDecoderModel.from_encoder_decoder_pretrained(encoder_name_or_path,decoder_name_or_path)
|
55 |
|
56 |
|
57 |
-
tokenizer = AutoTokenizer.from_pretrained(
|
58 |
tokenizer.pad_token = tokenizer.unk_token
|
59 |
|
60 |
|
|
|
54 |
model = VisionEncoderDecoderModel.from_encoder_decoder_pretrained(encoder_name_or_path,decoder_name_or_path)
|
55 |
|
56 |
|
57 |
+
tokenizer = AutoTokenizer.from_pretrained(decoder_name_or_path)
|
58 |
tokenizer.pad_token = tokenizer.unk_token
|
59 |
|
60 |
|