aboutsummaryrefslogtreecommitdiff
path: root/textual_inversion_templates/subject.txt
diff options
context:
space:
mode:
authorGreg Fuller <gfuller23@gmail.com>2022-10-11 19:29:38 -0700
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-12 08:30:06 +0300
commitfec2221eeaafb50afd26ba3e109bf6f928011e69 (patch)
tree896f65fb262e5cb79f653dcfc3f8315e6d3ad136 /textual_inversion_templates/subject.txt
parent6ac2ec2b78bc5fabd09cb866dd9a71061d669269 (diff)
Truncate error text to fix service lockup / stall
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
Diffstat (limited to 'textual_inversion_templates/subject.txt')
0 files changed, 0 insertions, 0 deletions