lvwerra HF staff commited on
Commit
c0e9b09
1 Parent(s): 06d9f16

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ txt_link = "https://huggingface.co/spaces/bigscience/license/raw/main/BLOOMLICENSE.txt"
4
+ docx_link = "https://huggingface.co/spaces/bigscience/license/raw/main/BLOOMLICENSE.docx"
5
+ html_link = "https://huggingface.co/spaces/bigscience/license/raw/main/BLOOMLICENSE.html"
6
+
7
+ st.sidebar.title("🌸 BigScience")
8
+ st.sidebar.markdown("## BigSciene RAIL License v1.0")
9
+ st.sidebar.markdown(f"This is the home of the BigScience RAIL License v1.0.\
10
+ If you would like to download the license you can get it as [.txt]({txt_link}), \
11
+ [.docx]({docx_link}), or [.html]({html}) file.")
12
+
13
+ with open("BLOOMLICENSE.html", "r") as f:
14
+ license_html = f.read()
15
+
16
+ st.markdown(license_html, unsafe_allow_html=True)