Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ output = last_hidden_states[0][0]
|
|
30 |
|
31 |
# output = Seq2SeqModelOutput(output)
|
32 |
|
33 |
-
|
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')
|