Closed chiroptical closed 4 years ago
The code in the master branch doesn't have this issue but I need python 3.7+ so it was easier to base the container on Ubuntu 20. If you need anything extra let me know.
I had a bug in one of my deployment scripts which cause this. Closing.
I am trying to finish up a container for our AI4E requirements and I am getting the following:
I have tried to set
content_max_length
in this callI also tried modifying this for the Flask app itself via
app.config['MAX_CONTENT_LENGTH'] = MAX_CONTENT_LENGTH
.MAX_CONTENT_LENGTH = 1 * 1024 * 1024
. I see the following code: https://github.com/microsoft/AIforEarth-API-Platform/blob/7987f350c7d74f2bad254b1b3fbac8ecce10804f/APIs/1.0/base-py/ai4e_service.py#L103-L105 which makes me think this should work. Any thoughts?My code is available here: https://github.com/chiroptical/ai4e-example/tree/opensoundscape_0_4_4