@@ -12,6 +12,10 @@ async def send_outgoing(queue):
|
||||
data = await queue.get()
|
||||
await websocket.send(data)
|
||||
|
||||
@app.route('/')
|
||||
async def root():
|
||||
return await app.send_static_file('index.html')
|
||||
|
||||
@app.websocket('/glebby')
|
||||
async def ws():
|
||||
global model
|
||||
|
||||
Reference in New Issue
Block a user