ashwml commited on
Commit
9e78a3e
·
1 Parent(s): 8ce4fdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(decoder._name_or_path)
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