Spaces:
Running
Running
christopher
commited on
Commit
•
e5d2c8d
1
Parent(s):
64f4318
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/charter.txt"
|
4 |
+
docx_link = "https://huggingface.co/spaces/bigscience/license/raw/main/charter.docx"
|
5 |
+
html_link = "https://huggingface.co/spaces/bigscience/license/raw/main/charter.html"
|
6 |
+
|
7 |
+
st.sidebar.title("🌸 BigScience")
|
8 |
+
st.sidebar.markdown("## BigScience Ethical Charter v0.6")
|
9 |
+
st.sidebar.markdown(f"This is the home of the BigScience Ethical Charter v0.6\
|
10 |
+
If you would like to download the charter you can get it as [.txt]({txt_link}), \
|
11 |
+
[.docx]({docx_link}), or [.html]({html_link}) file.")
|
12 |
+
|
13 |
+
with open("charter.html", "r") as f:
|
14 |
+
license_html = f.read()
|
15 |
+
|
16 |
+
st.markdown(license_html, unsafe_allow_html=True)
|