Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upInclude image mime in request #25
Conversation
|
@bestlibre how did you find that solution? Possibly here |
|
I found the solution based on the curl command in the readme of tensorflow-lite-server and the documentation of requests. The first part of the solution was with a fixed mime type and then I search how to get the mime type from a byte array which lead me to filetype. |
|
Unfortunately on deepstack official this approach raises error: You can run deepstack official with:
|
Fix for #24 . I have tested with a local install of tensorflow-lite-server, it's working. I don't have an instance of deepstack to test against it and I'm not familiar with the test suite to add test. I hope this PR is still usefull.