UnarineLeo commited on
Commit
f3e5e42
1 Parent(s): 15ad320

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -3
app.py CHANGED
@@ -33,13 +33,30 @@ def replace_mask(sentence, predicted_word):
33
 
34
  img1, img2, img3 = st.columns(3)
35
  with img2:
36
- st.image("logo_transparent_small.png")
37
- st.title("Fill Mask | Zabantu-XLM-Roberta")
38
-
 
 
 
 
 
 
 
 
 
39
  st.write(f"")
40
 
41
  st.markdown("Zabantu-XLMR refers to a fleet of models trained on different combinations of South African Bantu languages. It supports the following languages Tshivenda, Nguni languages (Zulu, Xhosa, Swati), Sotho languages (Northern Sotho, Southern Sotho, Setswana), and Xitsonga.")
42
 
 
 
 
 
 
 
 
 
43
  col1, col2 = st.columns(2)
44
 
45
  if 'text_input' not in st.session_state:
 
33
 
34
  img1, img2, img3 = st.columns(3)
35
  with img2:
36
+ with st.container(border=False):
37
+ st.image("logo_transparent_small.png")
38
+
39
+ butt1, butt2, butt3 = st.columns(3)
40
+ with butt1:
41
+ st.link_button("Github", "https://github.com/dsfsi")
42
+ with butt2:
43
+ st.link_button("Feedback Form", "https://docs.google.com/forms/d/e/1FAIpQLSf7S36dyAUPx2egmXbFpnTBuzoRulhL5Elu-N1eoMhaO7v10w/viewform")
44
+ with butt3:
45
+ st.link_button("arxiv", "https://huggingface.co/papers/1911.02116")
46
+
47
+ st.title("Fill Mask | Zabantu-XLM-Roberta")
48
  st.write(f"")
49
 
50
  st.markdown("Zabantu-XLMR refers to a fleet of models trained on different combinations of South African Bantu languages. It supports the following languages Tshivenda, Nguni languages (Zulu, Xhosa, Swati), Sotho languages (Northern Sotho, Southern Sotho, Setswana), and Xitsonga.")
51
 
52
+ with st.expander("Read more"):
53
+ st.write('''
54
+ The chart above shows some numbers I picked for you.
55
+ I rolled actual dice for these, so they're *guaranteed* to
56
+ be random.
57
+ ''')
58
+ st.image("https://static.streamlit.io/examples/dice.jpg")
59
+
60
  col1, col2 = st.columns(2)
61
 
62
  if 'text_input' not in st.session_state: