diff --git a/examples/llamarine/app.py b/examples/llamarine/app.py index 632a6e5d4..1723fb794 100644 --- a/examples/llamarine/app.py +++ b/examples/llamarine/app.py @@ -67,7 +67,7 @@ def main(use_domain_lm: bool = False): if 'agent_solutions' not in st.session_state: if os.path.exists(OUTPUT_FILE_PATH): - with open(file=OUTPUT_FILE_PATH, mode='r', encoding='utf-8') as f: + with open(file=OUTPUT_FILE_PATH, encoding='utf-8') as f: st.session_state.agent_solutions: defaultdict[str, str] = defaultdict(str, json.loads(f.read())) else: st.session_state.agent_solutions: defaultdict[str, str] = defaultdict(str)