UnarineLeo commited on
Commit
30651ec
·
verified ·
1 Parent(s): aea2baa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ st.write("This app predicts the missing word for sentences in Zulu, Tshivenda, S
30
  user_sentence = st.text_input("Enter your own sentence with a masked word (use '____'):", "\n".join(
31
  f"'{lang}': '{sentence}',"
32
  for lang, sentence in sample_sentences.items()
33
- )
34
 
35
  if st.button("Submit"):
36
  user_masked_sentence = user_sentence.replace('____', unmasker.tokenizer.mask_token)
 
30
  user_sentence = st.text_input("Enter your own sentence with a masked word (use '____'):", "\n".join(
31
  f"'{lang}': '{sentence}',"
32
  for lang, sentence in sample_sentences.items()
33
+ ))
34
 
35
  if st.button("Submit"):
36
  user_masked_sentence = user_sentence.replace('____', unmasker.tokenizer.mask_token)