Spaces:
Sleeping
Sleeping
danielritchie
commited on
Commit
•
c85d87a
1
Parent(s):
4e96901
Update app.py
Browse files
app.py
CHANGED
@@ -1,20 +1,21 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
|
4 |
-
st.
|
5 |
|
|
|
|
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
-
st.write(x, 'squared is', x * x)
|
9 |
|
10 |
-
st.text('Fixed width text')
|
11 |
-
st.markdown('_Markdown_') # see #*
|
12 |
-
st.caption('Balloons. Hundreds of them...')
|
13 |
-
st.latex(r''' e^{i\pi} + 1 = 0 ''')
|
14 |
-
st.write('Most objects') # df, err, func, keras!
|
15 |
-
st.write(['st', 'is <', 3]) # see *
|
16 |
-
st.title('My title')
|
17 |
-
st.header('My header')
|
18 |
-
st.subheader('My sub')
|
19 |
-
st.code('for i in range(8): foo()')
|
20 |
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
st.header('Web Access Equalizer)
|
4 |
+
st.text('The majority of the internet is written at a level that less than half of the population can comprehend. This app is a proof of concept to demonstrate the use of NLP to modify content to match a specific PIAAC Literacy Level, making the internet accessible to more people.')
|
5 |
|
6 |
+
st.subheader('Setup & Prerequisites')
|
7 |
+
st.text('Fixed width text')
|
8 |
|
9 |
+
st.subheader('How To: Use The Web Access Equalizer')
|
10 |
+
st.text('Simply enter a URL, Select Simplicity, and view your content!')
|
11 |
+
st.text('The simplicty value is directly related to the PIAAC Literacy Level.')
|
12 |
+
st.text('Note: The simplicty slider is directly related to the PIAAC Literacy Level')
|
13 |
+
|
14 |
+
default_url = "https://www.usatoday.com/"
|
15 |
+
url = st.text_input("URL:", default_url)
|
16 |
+
|
17 |
+
x = st.slider('Select a value')
|
18 |
+
lvl = st.select_slider('Select Simplicity. More complex to the right, less complex to the left ', options=['1','2','3','4'], value='2')
|
19 |
|
|
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|