UnarineLeo commited on
Commit
49e782f
·
verified ·
1 Parent(s): 41f81c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-sot-ven-170m")
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 = "Vhana vhane vha kha ḓi bva u bebwa vha kha khombo ya u <mask> nga Listeriosis."
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:",