Spaces:
Sleeping
Sleeping
reboot.
Browse files158 unmodified lines15916016116216216316416591 unmodified lines257258259260260261262262263158 unmodified lines restored_face = tensor2img(output, rgb2bgr=True, min_max=(-1, 1)) del output torch.cuda.empty_cache() except Exception as error: except RuntimeError as error: print(f"\tFailed inference for CodeFormer: {error}") restored_face = tensor2img( cropped_face_t, rgb2bgr=True, min_max=(-1, 1)91 unmodified lines ['04.jpg', True, True, 2, 0.1], ['05.jpg', True, True, 2, 0.1] ] ).launch() )
demo.queue(concurrency_count=3)demo.queue(concurrency_count=4)demo.launch()app.py+3-3