Image.fromarray(results[0]).save(unique_name) 0ee5b24 verified Fabrice-TIERCELIN commited on Jun 21, 2024
denoise_image = upscale_image(denoise_image, upscale, unit_resolution=32, min_size=min_size) 77c3bd5 verified Fabrice-TIERCELIN commited on Jun 21, 2024
if type(e).__name__ == 'gradio.exceptions.Error': 1f33c65 verified Fabrice-TIERCELIN commited on Jun 19, 2024
"The image" + (" has" if len(results) == 1 else "s have") + " been generated in " + \ 3db2a9a verified Fabrice-TIERCELIN commited on Jun 18, 2024
print('Exception of type ' + str(type(e))) 513338c verified Fabrice-TIERCELIN commited on Jun 17, 2024
LQ = HWC3(np.array(Image.open(input_image))) 3f8059f verified Fabrice-TIERCELIN commited on Jun 12, 2024
parser.add_argument("--use_tile_vae", action='store_true', default=True)#False 7275688 verified Fabrice-TIERCELIN commited on Jun 11, 2024
parser.add_argument("--use_tile_vae", action='store_true', default=False)#False eb4913f verified Fabrice-TIERCELIN commited on Jun 11, 2024
SUPIR is for beauty and illustration only 8bfb7fd verified Fabrice-TIERCELIN commited on Jun 11, 2024
result_slider = ImageSlider(label='Comparator', show_label=False, elem_id="slider1", show_download_button = False) f2ad942 verified Fabrice-TIERCELIN commited on Jun 10, 2024
If you don't get the image you wanted, add more details in the « Image description » f5bc7f0 verified Fabrice-TIERCELIN commited on Jun 6, 2024
Input (*.png, *.webp, *.jpeg, *.gif, *.bmp) 10b38cc verified Fabrice-TIERCELIN commited on Jun 5, 2024
denoise_image = gr.Image(label="Denoised image", show_label=True, type="numpy", sources=[], height=600, elem_id="image-s1") 7953a14 verified Fabrice-TIERCELIN commited on Jun 3, 2024