Spaces:
Sleeping
Sleeping
UnarineLeo
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def fill_mask(sentences):
|
|
19 |
def replace_mask(sentence, predicted_word):
|
20 |
return sentence.replace("<mask>", f"**{predicted_word}**")
|
21 |
|
22 |
-
st.title("Fill Mask | Zabantu-
|
23 |
st.write(f"")
|
24 |
|
25 |
col1, col2 = st.columns(2)
|
@@ -33,7 +33,7 @@ if 'warnings' not in st.session_state:
|
|
33 |
with col1:
|
34 |
with st.container(border=True):
|
35 |
st.markdown("Input :clipboard:")
|
36 |
-
sample_sentence = "
|
37 |
|
38 |
text_input = st.text_area(
|
39 |
"Enter sentences with <mask> token:",
|
|
|
19 |
def replace_mask(sentence, predicted_word):
|
20 |
return sentence.replace("<mask>", f"**{predicted_word}**")
|
21 |
|
22 |
+
st.title("Fill Mask | Zabantu-nso-120m")
|
23 |
st.write(f"")
|
24 |
|
25 |
col1, col2 = st.columns(2)
|
|
|
33 |
with col1:
|
34 |
with st.container(border=True):
|
35 |
st.markdown("Input :clipboard:")
|
36 |
+
sample_sentence = "bašomedi ba polase ya dinamune ya zebediela citrus ba hlomile magato a <mask> malebana le go se sepetšwe botse ga dilo ka polaseng eo."
|
37 |
|
38 |
text_input = st.text_area(
|
39 |
"Enter sentences with <mask> token:",
|