@@ -119,9 +119,10 @@ async def swapFace(req:swap_req):
@app.post("/autoprogress")
async def autoprogress(req:swap_req):
ws = create_connection("ws://www.choozmo.com:8888/progress")
- for i in range(100)
+ for i in range(100):
time.sleep(0.1)
ws.send(i)
+ ws.close()
@app.post("/make_anchor_video_v2")