Closed vivalareda closed 11 months ago
Do I need to change not endpoint_api_key
to endpoint_api_key is not None
?
an error message needs to be raised when the file type is none. When I tried to deploy, I got this error TypeError: expected string or bytes-like object, got 'NoneType' - needs to be handled
https://github.com/ai-cfia/nachet-backend/blob/d4bc5bcecec0e1cec09cb37f8cc02b6565b91a83/app.py#L28-L33