cog icon indicating copy to clipboard operation
cog copied to clipboard

Fix training api call failed because of mix use of async and sync func

Open sinopec opened this issue 1 year ago • 0 comments

as 1808 described:

because of training endpoint of fastapi is define as sync and in the sync function a async func is called. Something wrong happened. The curl test command failed of internal server error.

sinopec avatar Aug 07 '24 02:08 sinopec