Spaces:
Runtime error
Runtime error
Update pages/fill_mask.py
Browse files- pages/fill_mask.py +2 -2
pages/fill_mask.py
CHANGED
@@ -13,7 +13,7 @@ def app():
|
|
13 |
|
14 |
@st.cache(allow_output_mutation=True, suppress_st_warning =True, show_spinner=False)
|
15 |
def get_model():
|
16 |
-
return pipeline('fill-mask', model='bert-base-uncased'
|
17 |
|
18 |
def create_graph(answer):
|
19 |
x_bar = [i['token_str'] for i in answer]
|
@@ -32,7 +32,7 @@ def app():
|
|
32 |
st.altair_chart(chart, use_container_width=True)
|
33 |
|
34 |
|
35 |
-
col1, col2 = st.
|
36 |
|
37 |
|
38 |
with col1:
|
|
|
13 |
|
14 |
@st.cache(allow_output_mutation=True, suppress_st_warning =True, show_spinner=False)
|
15 |
def get_model():
|
16 |
+
return pipeline('fill-mask', model='bert-base-uncased')
|
17 |
|
18 |
def create_graph(answer):
|
19 |
x_bar = [i['token_str'] for i in answer]
|
|
|
32 |
st.altair_chart(chart, use_container_width=True)
|
33 |
|
34 |
|
35 |
+
col1, col2 = st.columns([2,1])
|
36 |
|
37 |
|
38 |
with col1:
|