import streamlit as st from config import CONTRIBUTORS def contributors_page(): st.balloons() with open("assets/members_list.txt", "r", encoding="utf-16") as f: data = f.readlines() full_string = "" for i in range(0,len(data),3): contributors = f""" {data[i].strip().title()} {data[i+1].strip().title()} {data[i+2].strip().title()} """ full_string += contributors st.write(CONTRIBUTORS.format(full_string), unsafe_allow_html=True) if __name__ == "__main__": contributors_page()