You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
What:
* Update wrap_gradio_call to add a limit to the maximum amount of text output
Why:
* wrap_gradio_call currently prints out a list of the arguments provided to the failing function.
* if that function is save_image, this causes the entire image to be printed to stderr
* If the image is large, this can cause the service to lock up while attempting to print all the text
* It is easy to generate large images using the x/y plot script
* it is easy to encounter image save exceptions, including if the output directory does not exist / cannot be written to, or if the file is too big
* The huge amount of log spam is confusing and not particularly helpful
|
3 years ago | |
|---|---|---|
| .. | ||
| codeformer | 3 years ago | |
| hypernetworks | 3 years ago | |
| textual_inversion | 3 years ago | |
| artists.py | 3 years ago | |
| bsrgan_model.py | 3 years ago | |
| bsrgan_model_arch.py | 3 years ago | |
| codeformer_model.py | 3 years ago | |
| deepbooru.py | 3 years ago | |
| devices.py | 3 years ago | |
| errors.py | 3 years ago | |
| esrgan_model.py | 3 years ago | |
| esrgan_model_arch.py | 3 years ago | |
| extras.py | 3 years ago | |
| face_restoration.py | 3 years ago | |
| generation_parameters_copypaste.py | 3 years ago | |
| gfpgan_model.py | 3 years ago | |
| images.py | 3 years ago | |
| img2img.py | 3 years ago | |
| interrogate.py | 3 years ago | |
| ldsr_model.py | 3 years ago | |
| ldsr_model_arch.py | 3 years ago | |
| lowvram.py | 3 years ago | |
| masking.py | 3 years ago | |
| memmon.py | 3 years ago | |
| modelloader.py | 3 years ago | |
| ngrok.py | 3 years ago | |
| paths.py | 3 years ago | |
| processing.py | 3 years ago | |
| prompt_parser.py | 3 years ago | |
| realesrgan_model.py | 3 years ago | |
| safe.py | 3 years ago | |
| safety.py | 3 years ago | |
| scripts.py | 3 years ago | |
| scunet_model.py | 3 years ago | |
| scunet_model_arch.py | 3 years ago | |
| sd_hijack.py | 3 years ago | |
| sd_hijack_optimizations.py | 3 years ago | |
| sd_models.py | 3 years ago | |
| sd_samplers.py | 3 years ago | |
| shared.py | 3 years ago | |
| styles.py | 3 years ago | |
| swinir_model.py | 3 years ago | |
| swinir_model_arch.py | 3 years ago | |
| swinir_model_arch_v2.py | 3 years ago | |
| txt2img.py | 3 years ago | |
| ui.py | 3 years ago | |
| upscaler.py | 3 years ago | |