Spaces:
Runtime error
Runtime error
Simon Salmon
commited on
Commit
·
3e92229
1
Parent(s):
7fb271c
Update app.py
Browse files
app.py
CHANGED
@@ -35,5 +35,4 @@ with st.expander('Expand'):
|
|
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 |
-
|
39 |
-
st.text_area(label = 'Infill:', value=words)
|
|
|
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.text_area(label = 'Infill:', value=words)
|
|