DashAI icon indicating copy to clipboard operation
DashAI copied to clipboard

fix: :bug: Refactor main function and add app_init module because of …

Open Lucas-CE opened this issue 1 year ago • 1 comments

Summary

When training a model, the backend throw this error:

RuntimeError: Task <Task pending name='Task-64' coro=<RequestResponseCycle.run_asgi() running at C:\Users\lucas\python-envs\dashai-dev\lib\site-packages\uvicorn\protocols\http\httptools_impl.py:426> cb=[set.discard()]> got Future <Future pending> attached to a different loop

The changes solve this problem, but when running the backend, it doesnt wait for the timer to open the browser.

Lucas-CE avatar Feb 13 '24 15:02 Lucas-CE