yjernite's picture
yjernite HF staff
Update app.py
0ca5c82
import streamlit as st
txt_link = "https://huggingface.co/spaces/bigscience/data_host_provider_agreement/raw/main/data_host_provider_agreement.txt"
docx_link = "https://huggingface.co/spaces/bigscience/data_host_provider_agreement/raw/main/data_host_provider_agreement.docx"
html_link = "https://huggingface.co/spaces/bigscience/data_host_provider_agreement/raw/main/data_host_provider_agreement.html"
pdf_link = "https://huggingface.co/spaces/bigscience/data_host_provider_agreement/raw/main/data_host_provider_agreement.pdf"
st.sidebar.title("🌸 BigScience")
st.sidebar.markdown("## Data Host-Provider Agreement v0.1")
st.sidebar.markdown(f"This is the home of the Data Host-Provider Agreement designed to support \
the BigScience [Data Governance Proposal](https://yjernite.github.io/content/LangDataGov.pdf).\
If you would like to download the license you can get it as [.txt]({txt_link}), \
[.docx]({docx_link}), [.pdf]({pdf_link}), or [.html]({html_link}) file.")
with open("data_host_provider_agreement.html", "r") as f:
license_html = f.read()
st.markdown(license_html, unsafe_allow_html=True)