adjusted server time limit
This commit is contained in:
@@ -103,7 +103,7 @@ async def predict_face(websocket: WebSocket):
|
|||||||
while True:
|
while True:
|
||||||
jpg_bytes = await websocket.receive_bytes()
|
jpg_bytes = await websocket.receive_bytes()
|
||||||
|
|
||||||
if time.time() - last < 1 / 2:
|
if time.time() - last < 1 / 2.1:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
last = time.time()
|
last = time.time()
|
||||||
|
|||||||
Reference in New Issue
Block a user