mlkorra
commited on
Commit
·
e11f528
1
Parent(s):
0677d87
update app
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def app():
|
|
61 |
# pd.set_option('max_colwidth',30)
|
62 |
if st.button("Classify"):
|
63 |
with st.spinner("Classifying the sentence..."):
|
64 |
-
pred
|
65 |
st.write(pred)
|
66 |
|
67 |
if st.button('Visualize attributions'):
|
|
|
61 |
# pd.set_option('max_colwidth',30)
|
62 |
if st.button("Classify"):
|
63 |
with st.spinner("Classifying the sentence..."):
|
64 |
+
pred = load_model(masked_text)
|
65 |
st.write(pred)
|
66 |
|
67 |
if st.button('Visualize attributions'):
|