danielritchie's picture
Update app.py
6dbe897
raw
history blame contribute delete
No virus
1.03 kB
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')