yjernite HF staff commited on
Commit
f14de49
1 Parent(s): bbc5e73

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -0
app.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ txt_link = "https://huggingface.co/spaces/bigscience/data_host_provider_agreement/raw/main/data_host_provider_agreement.txt"
4
+ docx_link = "https://huggingface.co/spaces/bigscience/data_host_provider_agreement/raw/main/data_host_provider_agreement.docx"
5
+ html_link = "https://huggingface.co/spaces/bigscience/data_host_provider_agreement/raw/main/data_host_provider_agreement.html"
6
+ pdf_link = "https://huggingface.co/spaces/bigscience/data_host_provider_agreement/raw/main/data_host_provider_agreement.pdf"
7
+
8
+ st.sidebar.title("🌸 BigScience")
9
+ st.sidebar.markdown("## BigScience Data Host-Provider Agreement v0.1")
10
+ 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}).\
11
+ If you would like to download the license you can get it as [.txt]({txt_link}), \
12
+ [.docx]({docx_link}), [.pdf]({pdf_link}), or [.html]({html_link}) file.")
13
+
14
+ with open("data_host_provider_agreement.html", "r") as f:
15
+ license_html = f.read()
16
+
17
+ st.markdown(license_html, unsafe_allow_html=True)