Spaces:
Runtime error
Runtime error
Simon Salmon
commited on
Commit
·
7fb271c
1
Parent(s):
2f96bb3
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ tokenizer = AutoTokenizer.from_pretrained("roberta-large")
|
|
17 |
model = AutoModelForMaskedLM.from_pretrained("BigSalmon/FormalRobertaa")
|
18 |
|
19 |
|
20 |
-
|
21 |
-
with st.form(key='my_form'):
|
22 |
prompt = st.text_area(label='Enter Text. Put <mask> where you want the model to fill in the blank. You can use more than one at a time.')
|
23 |
submit_button = st.form_submit_button(label='Submit')
|
24 |
|
|
|
17 |
model = AutoModelForMaskedLM.from_pretrained("BigSalmon/FormalRobertaa")
|
18 |
|
19 |
|
20 |
+
with st.expander('Expand'):
|
21 |
+
with st.form(key='my_form'):
|
22 |
prompt = st.text_area(label='Enter Text. Put <mask> where you want the model to fill in the blank. You can use more than one at a time.')
|
23 |
submit_button = st.form_submit_button(label='Submit')
|
24 |
|