Araeynn commited on
Commit
e0a14e7
1 Parent(s): da57ba6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -20,7 +20,8 @@ if not os.path.exists(lock_file_path):
20
  with open(lock_file_path, "w") as f:
21
  f.write("Running!")
22
  else:
23
- print("Streamlit app is already running.")
 
24
 
25
  try:
26
  os.mkdir("data")
 
20
  with open(lock_file_path, "w") as f:
21
  f.write("Running!")
22
  else:
23
+ print("Streamlit app is already running, exiting this instance.")
24
+ exit()
25
 
26
  try:
27
  os.mkdir("data")