File size: 1,025 Bytes
7b98715
 
486cad7
6dbe897
4e96901
c85d87a
 
4e96901
c85d87a
6dbe897
 
 
c85d87a
 
 
 
 
 
 
 
4e96901
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import streamlit as st

st.header('Web Access Equalizer')
st.caption('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.')

st.subheader('Setup & Prerequisites')
st.text('Fixed width text')

st.subheader('How To: Use The Web Access Equalizer')
st.text('1) Enter a URL')
st.text('2) Set Simplicity Level (default is midpoint for all people)')
st.text('3) Get Response')
st.text('The simplicty value is directly related to the PIAAC Literacy Level.')
st.text('Note: The simplicty slider is directly related to the PIAAC Literacy Level')

default_url = "https://www.usatoday.com/"
url = st.text_input("URL:", default_url)
          
x = st.slider('Select a value')
lvl = st.select_slider('Select Simplicity.  More complex to the right, less complex to the left ', options=['1','2','3','4'], value='2')