Add logging

pull/2/head
Guillermo Rodriguez 2022-12-24 14:32:17 -03:00
parent e2257b4fb5
commit 07321ee5ee
No known key found for this signature in database
GPG Key ID: EC3AB66D5D83B392
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ async def run_skynet_telegram(
img_raw = base64.b64decode(bytes.fromhex(resp.result['img'])) img_raw = base64.b64decode(bytes.fromhex(resp.result['img']))
logging.info(f'got image of size: {len(img_raw)}') logging.info(f'got image of size: {len(img_raw)}')
size = (512, 512) size = (512, 512)
logging.info(resp.result['meta'])
if resp.result['meta']['upscaler'] == 'x4': if resp.result['meta']['upscaler'] == 'x4':
size = (2048, 2048) size = (2048, 2048)