We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在使用"/run"这个API时,用file或者url上传图片会出现概率性触发服务500的情况,经过验证,具体报错代码是这一行: img.save(f'result/{task_id}/input.jpg') 在该行前面加上下面这行代码就能解决问题 img = img.convert('RGB')
img.save(f'result/{task_id}/input.jpg')
img = img.convert('RGB')
上述内容在这里: @routes.post("/manual-translate") async def manual_translate_async(request)
No response
The text was updated successfully, but these errors were encountered:
c101755
zyddnys#624 fixed
0c5ae2e
No branches or pull requests
Issue
在使用"/run"这个API时,用file或者url上传图片会出现概率性触发服务500的情况,经过验证,具体报错代码是这一行:
img.save(f'result/{task_id}/input.jpg')
在该行前面加上下面这行代码就能解决问题
img = img.convert('RGB')
上述内容在这里:
@routes.post("/manual-translate")
async def manual_translate_async(request)
Command Line Arguments
No response
Console logs
No response
The text was updated successfully, but these errors were encountered: