Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ st.title("Fill Mask for Multiple Languages | Zabantu-Bantu-250m")
|
|
28 |
st.write("This app predicts the missing word for sentences in Zulu, Tshivenda, Sepedi, Tswana, and Tsonga using a Zabantu BERT model.")
|
29 |
|
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 |
|
|
|
28 |
st.write("This app predicts the missing word for sentences in Zulu, Tshivenda, Sepedi, Tswana, and Tsonga using a Zabantu BERT model.")
|
29 |
|
30 |
user_sentence = st.text_input("Enter your own sentence with a masked word (use '____'):", "\n".join(
|
31 |
+
f"'{lang}': '{sentence}',\n"
|
32 |
for lang, sentence in sample_sentences.items()
|
33 |
))
|
34 |
|