2023/04/17 19:15:12 Processing imagine #1097601169771200582: test
2023/04/17 19:15:12 API URL: http://127.0.0.1:8000/sdapi/v1/txt2img
2023/04/17 19:15:12 Unexpected API response: {"error":"RuntimeError","detail":"","body":"","errors":"There is no current event loop in thread 'AnyIO worker thread'."}
2023/04/17 19:15:12 Error processing image: unexpected end of JSON input
I'm getting this error
2023/04/17 19:15:12 Processing imagine #1097601169771200582: test 2023/04/17 19:15:12 API URL: http://127.0.0.1:8000/sdapi/v1/txt2img 2023/04/17 19:15:12 Unexpected API response: {"error":"RuntimeError","detail":"","body":"","errors":"There is no current event loop in thread 'AnyIO worker thread'."} 2023/04/17 19:15:12 Error processing image: unexpected end of JSON input