Exception handling

#6
by adamelliotfields - opened

compel.prompt_parser.PromptParser.ParsingException

Can trigger by trying to blend mis-matched weights like ("foo", "bar", "baz").blend(1, 1).

RuntimeError: ZeroGPU API /release error: 500 (Internal Server Error)

This can get raised by generate when the GPU is being unmounted. Need to handle in generate_btn_click and let the user know to try again.

adamelliotfields changed discussion title from Handle Compel parsing exceptions to Exception handling

Closed by dffd0bb.

adamelliotfields changed discussion status to closed

Sign up or log in to comment