Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
+
|