Spaces:
Runtime error
Runtime error
Simon Salmon commited on
Commit ·
2f96bb3
1
Parent(s): 5f9a357
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,4 +35,5 @@ with st.form(key='my_form'):
|
|
| 35 |
mask_hidden_state = last_hidden_state[mask_index]
|
| 36 |
idx = torch.topk(mask_hidden_state, k=100, dim=0)[1]
|
| 37 |
words = [tokenizer.decode(i.item()).strip() for i in idx]
|
| 38 |
-
st.
|
|
|
|
|
|
| 35 |
mask_hidden_state = last_hidden_state[mask_index]
|
| 36 |
idx = torch.topk(mask_hidden_state, k=100, dim=0)[1]
|
| 37 |
words = [tokenizer.decode(i.item()).strip() for i in idx]
|
| 38 |
+
with st.expander('Expand'):
|
| 39 |
+
st.text_area(label = 'Infill:', value=words)
|