valencar commited on
Commit
b0f3b62
·
verified ·
1 Parent(s): da7b7df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ output = last_hidden_states[0][0]
30
 
31
  # output = Seq2SeqModelOutput(output)
32
 
33
- # output = tokenizer.batch_decode(output[0], skip_special_tokens=True, clean_up_tokenization_spaces=False)[0]
34
 
35
  with st.container():
36
  st.write('\n\n')
 
30
 
31
  # output = Seq2SeqModelOutput(output)
32
 
33
+ output = tokenizer.batch_decode(output, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0]
34
 
35
  with st.container():
36
  st.write('\n\n')