Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle invalid input! #1022

Open
xuweidongkobe opened this issue Jul 11, 2023 · 1 comment
Open

How to handle invalid input! #1022

xuweidongkobe opened this issue Jul 11, 2023 · 1 comment

Comments

@xuweidongkobe
Copy link

Given a MMS custom service that expects JSON as input,
If the input is invalid JSON such as { "image": "I missed a quote}
MMS will return
{ "code": 500, "type": "InternalServerException", "message": "Worker died." } and reload model.
Is something can do to verify the accuracy of input to avoid such direct returns and model reload when it cannot be modified input?

@xuweidongkobe
Copy link
Author

@maaquib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant