Spaces:
Paused
Paused
Update app.py
Browse files
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.
|
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:
|