SUPIR / app.py

Commit History

Update app.py
e035e59
verified

AmpleBasis commited on

if str(e) == "'No GPU is currently available for you after 60s'":
ce2e330
verified

Fabrice-TIERCELIN commited on

if str(type(e)) == "'No GPU is currently available for you after 60s'":
0dac2cb
verified

Fabrice-TIERCELIN commited on

gradio.exceptions.Error: 'No GPU is currently available for you after 60s'
f843efe
verified

Fabrice-TIERCELIN commited on

gr.update(label="Downloadable results in *." + output_format + " format", format = output_format, value = [denoise_image])
a81081c
verified

Fabrice-TIERCELIN commited on

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