xhluca commited on
Commit
6fb309c
·
1 Parent(s): b69d269

Disable json cache

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -2,11 +2,6 @@ from datetime import datetime
2
  import json
3
  import os
4
  import time
5
- import random
6
- import string
7
- import shutil
8
- import traceback
9
- import sys
10
  from pathlib import Path
11
 
12
  import streamlit as st
@@ -142,7 +137,7 @@ def load_recording(basedir):
142
  )
143
  replay_file = replay_file.replace(".json", "")
144
 
145
- metadata = load_json(basedir, "metadata")
146
 
147
  # convert timestamp to readable date string
148
  recording_start_timestamp = metadata["recordingStart"]
 
2
  import json
3
  import os
4
  import time
 
 
 
 
 
5
  from pathlib import Path
6
 
7
  import streamlit as st
 
137
  )
138
  replay_file = replay_file.replace(".json", "")
139
 
140
+ metadata = load_json_no_cache(basedir, "metadata")
141
 
142
  # convert timestamp to readable date string
143
  recording_start_timestamp = metadata["recordingStart"]