From 1b10a9410ce52d7290349edb3d098761290e5e01 Mon Sep 17 00:00:00 2001
From: Russell Jarvis <rjjarvis@asu.edu>
Date: Mon, 22 Jun 2020 19:16:33 +1000
Subject: [PATCH] just added gecko binary

---
 Procfile | 5 ++---
 app.py   | 1 +
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Procfile b/Procfile
index c626956..8abc48d 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 588fdc9..c32f99c 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']
-- 
GitLab