nazianafis commited on
Commit
fdad087
1 Parent(s): a388fba

Change to st.cache_data

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
  import base64
6
  import camelot as cam
7
 
8
- @st.cache
9
  def gh():
10
  proc = subprocess.Popen('apt-get install -y ghostscript', shell=True, stdin=None, stdout=open(os.devnull,'wb'), stderr=STDOUT, executable="/bin/bash")
11
 
 
5
  import base64
6
  import camelot as cam
7
 
8
+ @st.cache_data
9
  def gh():
10
  proc = subprocess.Popen('apt-get install -y ghostscript', shell=True, stdin=None, stdout=open(os.devnull,'wb'), stderr=STDOUT, executable="/bin/bash")
11