nakere424 commited on
Commit
bf022fc
·
1 Parent(s): 58f2a4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -2,3 +2,9 @@ from transformers import pipeline
2
  import streamlit as st
3
 
4
  unmasker = pipeline('fill-mask', model='distilbert-base-uncased')
 
 
 
 
 
 
 
2
  import streamlit as st
3
 
4
  unmasker = pipeline('fill-mask', model='distilbert-base-uncased')
5
+
6
+ def main():
7
+ st.title('EN mask filling')
8
+ st.write('Please insert english sentence with [MASK] to let model fill a mask')
9
+ st.write('For example, I [MASK] dog for a walk')
10
+