diff --git a/Procfile b/Procfile index c6269560a8db11c8392aaa65af76ae52f2debb6c..8abc48d80032a864d756848b94a3d8028fdb73b0 100644 --- a/Procfile +++ b/Procfile @@ -1,9 +1,8 @@ -install_dir="." +install_dir="./app" json=$(curl -s https://api.github.com/repos/mozilla/geckodriver/releases/latest) url=$(echo "$json" | jq -r '.assets[].browser_download_url | select(contains("linux64"))') curl -s -L "$url" | tar -xz chmod +x geckodriver -sudo mv geckodriver "$install_dir" -echo "installed geckodriver binary in $install_dir" +sudo cp geckodriver "$install_dir" web: sh setup.sh && streamlit run app.py diff --git a/app.py b/app.py index 588fdc90fc902fb2f13e3b3aa494fe20a44b25f4..c32f99c79aab09a4dc41890f33ebc24d0b1a2e51 100644 --- a/app.py +++ b/app.py @@ -56,6 +56,7 @@ def make_clickable(link): if author_name: + @st.cache ar = call_from_front_end(author_name) standard_sci = [ t['standard'] for t in ar ] group_labels = ['Author: '+str(author_name)]#, 'Group 2', 'Group 3']