mr2along commited on
Commit
41a7dab
·
verified ·
1 Parent(s): 21f3395

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -162,5 +162,6 @@ async def send_heartbeat(websocket):
162
  await asyncio.sleep(10) # Send heartbeat every 10 seconds
163
 
164
  # Create an event loop and run the coroutine until completion
165
- #asyncio.run(init_sma_ws())
166
- await init_sma_ws()
 
 
162
  await asyncio.sleep(10) # Send heartbeat every 10 seconds
163
 
164
  # Create an event loop and run the coroutine until completion
165
+ asyncio.run(init_sma_ws())
166
+ #await init_sma_ws()
167
+ # Run the event loop and execute the asynchronous main function