Spaces:
Running
Running
Create app.py
Browse files
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)
|