Commit Graph
5 Commits
Author SHA1 Message Date
Greg Fuller e0dce974ce Fix metadata contents 2022-10-12 16:18:32 -07:00
Greg Fuller 9201662e3a Merge remote-tracking branch 'upstream/master' into xy_grid_individual_images 2022-10-12 12:39:24 -07:00
Greg FullerandAUTOMATIC1111 fec2221eea 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
2022-10-12 08:30:06 +03:00
Greg Fuller a7186637f8 Fix save error 2022-10-11 19:46:33 -07:00
Greg Fuller 212c557161 draw_xy_grid provides the option to also return lone images 2022-10-11 17:05:20 -07:00