mirror of https://github.com/skygpu/skynet.git
				
				
				
			Add logging
							parent
							
								
									e2257b4fb5
								
							
						
					
					
						commit
						07321ee5ee
					
				| 
						 | 
					@ -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)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue