Add logging

pull/25/head
Guillermo Rodriguez 2022-12-24 14:32:17 -03:00
parent ee024a21b3
commit 02c40fbb9b
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']))
logging.info(f'got image of size: {len(img_raw)}')
size = (512, 512)
logging.info(resp.result['meta'])
if resp.result['meta']['upscaler'] == 'x4':
size = (2048, 2048)