nakere424 commited on
Commit
f76cd25
·
1 Parent(s): 7ee86f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -4,12 +4,11 @@ import streamlit as st
4
  unmasker = pipeline('fill-mask', model='distilbert-base-uncased')
5
 
6
  def main():
7
- st.title('EN sentence mask filling')
8
- st.markdown('Mask a word with [MASK]. For example, **I [MASK] dog for a walk**')
9
- masked = st.text_input('Masked sentence','Please insert a sentence')
10
-
11
- output = unmasker(masked)
12
-
13
 
 
 
14
  if __name__ == "__main__":
15
- main()
 
4
  unmasker = pipeline('fill-mask', model='distilbert-base-uncased')
5
 
6
  def main():
7
+ st.title('EN sentence mask filling')
8
+ st.markdown('Mask a word with [MASK]. For example, **I [MASK] dog for a walk**')
9
+ masked = st.text_input('Masked sentence','Please insert a sentence')
 
 
 
10
 
11
+ output = unmasker(masked)
12
+
13
  if __name__ == "__main__":
14
+ main()