divinixx commited on
Commit
252f93f
·
1 Parent(s): 91da7fe

Fix JavaScript syntax error - remove extra brace

Browse files
Files changed (1) hide show
  1. app_fastapi.py +2 -3
app_fastapi.py CHANGED
@@ -336,10 +336,9 @@ async def root():
336
 
337
  ws.send(JSON.stringify({
338
  session_id: sessionId,
339
- frame: canvas.toDataURL('image/jpeg', 0.5) // Lower quality = faster
340
  }));
341
- }, 1000); // 1 second = 1 FPS (slower but smoother on CPU)
342
- }
343
  }
344
 
345
  startCamera();
 
336
 
337
  ws.send(JSON.stringify({
338
  session_id: sessionId,
339
+ frame: canvas.toDataURL('image/jpeg', 0.5)
340
  }));
341
+ }, 1000);
 
342
  }
343
 
344
  startCamera();