Spaces:
Running
Running
reboot.
Browse files158 unmodified lines15916016116216316416591 unmodified lines257258259260261262263158 unmodified linesrestored_face = tensor2img(output, rgb2bgr=True, min_max=(-1, 1))del outputtorch.cuda.empty_cache()except Exception 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.launch()158 unmodified lines15916016116216316416591 unmodified lines257258259260261262263158 unmodified linesrestored_face = tensor2img(output, rgb2bgr=True, min_max=(-1, 1))del outputtorch.cuda.empty_cache()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]])demo.queue(concurrency_count=4)demo.launch()
app.py+3-3