mirror of https://github.com/bhaskatripathi/pdfGPT
Update api.py
Hi, When the generate_text() is called by the API, there is no error catch in case of failure. This change allows to see the error message on the answer cell of the web app instead of a blank. Useful when openai account is exceeding the quota or other types of error. MApull/81/head
parent
32d9f880a8
commit
185460d279
Loading…
Reference in New Issue