capitalized "warning" for gradio's warning function, as seen in docs.
should fix the attribute error when using text over 300 characters, don't have hardware or hf pro to test though.
could also potentially use gr.Error to cancel the generation entirely in case the user wants to change the text to something smaller.

Thanks!

srinivasbilla changed pull request status to merged

I have a long form generation version. will upload soon

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment