SUPIR / app.py

Commit History

Due to Gradio issues, the generated image is slightly less satured than the original
06254a3
verified

Fabrice-TIERCELIN commited on

print("Estimated minutes: " + f'{((result_width * result_height * input_width * input_height * edm_steps * (num_sampl
0b31488
verified

Fabrice-TIERCELIN commited on

Image.fromarray(results[0]).save(unique_name)
0ee5b24
verified

Fabrice-TIERCELIN commited on

denoise_image = upscale_image(denoise_image, upscale, unit_resolution=32, min_size=min_size)
77c3bd5
verified

Fabrice-TIERCELIN commited on

if type(e).__name__ == 'gradio.exceptions.Error':
1f33c65
verified

Fabrice-TIERCELIN commited on

"The image" + (" has" if len(results) == 1 else "s have") + " been generated in " + \
3db2a9a
verified

Fabrice-TIERCELIN commited on

print('Exception of type ' + str(type(e)))
513338c
verified

Fabrice-TIERCELIN commited on

LQ = HWC3(np.array(Image.open(input_image)))
3f8059f
verified

Fabrice-TIERCELIN commited on

parser.add_argument("--use_tile_vae", action='store_true', default=True)#False
7275688
verified

Fabrice-TIERCELIN commited on

parser.add_argument("--use_tile_vae", action='store_true', default=False)#False
eb4913f
verified

Fabrice-TIERCELIN commited on

SUPIR is for beauty and illustration only
8bfb7fd
verified

Fabrice-TIERCELIN commited on