Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ last_hidden_states = outputs.last_hidden_state
|
|
25 |
|
26 |
output = last_hidden_states
|
27 |
|
28 |
-
decoded = tokenizer.decode(output[0][0]) # [0][0]
|
29 |
-
print(decoded)
|
30 |
|
31 |
# output = Seq2SeqModelOutput(output)
|
32 |
|
@@ -35,7 +35,7 @@ print(decoded)
|
|
35 |
with st.container():
|
36 |
st.write('\n\n')
|
37 |
st.write('LLM-LANAChat\n\n')
|
38 |
-
st.write(
|
39 |
|
40 |
print('\nsaida gerada.')
|
41 |
print('\n\n')
|
|
|
25 |
|
26 |
output = last_hidden_states
|
27 |
|
28 |
+
# decoded = tokenizer.decode(output[0][0]) # [0][0]
|
29 |
+
# print(decoded)
|
30 |
|
31 |
# output = Seq2SeqModelOutput(output)
|
32 |
|
|
|
35 |
with st.container():
|
36 |
st.write('\n\n')
|
37 |
st.write('LLM-LANAChat\n\n')
|
38 |
+
st.write(output)
|
39 |
|
40 |
print('\nsaida gerada.')
|
41 |
print('\n\n')
|