Spaces:
Runtime error
Runtime error
Add input validations, proper defaults and errors for parameters
#4
by
aps
- opened
Currently, the app doesn't validate the length of input passed and doesn't have defaults. So,
- a user can change the number on frontend and pass anything to the model which can fill the queue pretty fast.
- a user doesn't know why their commands errored because some defaults were not set.
This PR sets defaults and validates the inputs.
aps
changed pull request title from
assert-max-length
to Check max length passed aligns with the input form
aps
changed pull request title from
Check max length passed aligns with the input form
to Add input validations, proper defaults and errors for parameters
aps
changed pull request status to
open
hi
Currently, the app doesn't validate the length of input passed and doesn't have defaults. So,
- a user can change the number on frontend and pass anything to the model which can fill the queue pretty fast.
- a user doesn't know why their commands errored because some defaults were not set.
This PR sets defaults and validates the inputs.
hi, could you release the parameters of "Sample 1"?