File size: 708 Bytes
e5d2c8d
 
 
 
 
 
 
 
 
27481a9
e5d2c8d
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import streamlit as st

txt_link = "https://huggingface.co/spaces/bigscience/license/raw/main/charter.txt"
docx_link = "https://huggingface.co/spaces/bigscience/license/raw/main/charter.docx"
html_link = "https://huggingface.co/spaces/bigscience/license/raw/main/charter.html"

st.sidebar.title("🌸 BigScience")
st.sidebar.markdown("## BigScience Ethical Charter v0.6")
st.sidebar.markdown(f"This is the home of the BigScience Ethical Charter v0.6\
 If you would like to download the charter you can get it as [.txt]({txt_link}), \
[.docx]({docx_link}), or [.html]({html_link}) file.")

with open("charter.html", "r") as f:
    license_html = f.read()
    
st.markdown(license_html, unsafe_allow_html=True)