ppsingh commited on
Commit
9ed128a
1 Parent(s): eb99439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ DATA_FILE = os.path.join("data", DATA_FILENAME)
23
  file_name = 'paralist.json'
24
 
25
  # reading the json
26
- @st.cache
27
  def read_dataset():
28
  repo = Repository( local_dir="data", clone_from=DATASET_REPO_URL, repo_type="dataset", use_auth_token= auth_token)
29
  with open('data/{}'.format(file_name), 'r', encoding="utf8") as json_file:
 
23
  file_name = 'paralist.json'
24
 
25
  # reading the json
26
+ @st.cache(allow_output_mutation=True)
27
  def read_dataset():
28
  repo = Repository( local_dir="data", clone_from=DATASET_REPO_URL, repo_type="dataset", use_auth_token= auth_token)
29
  with open('data/{}'.format(file_name), 'r', encoding="utf8") as json_file: