Araeynn commited on
Commit
c207558
·
verified ·
1 Parent(s): c81a44b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,8 +49,8 @@ if not os.path.exists(lock_file_path):
49
  else:
50
  print("Streamlit app is already running, only streaming bot activity.")
51
  while True:
52
- syncMessages()
53
- time.sleep(0.1)
54
 
55
 
56
  try:
 
49
  else:
50
  print("Streamlit app is already running, only streaming bot activity.")
51
  while True:
52
+ asyncio.run(syncMessages())
53
+ time.sleep(0.5)
54
 
55
 
56
  try: