evaluate_imagenow can accept image BytesIO instead just image filename.
this is needed when the function is used on flask views. in that case the received posted image can be directly processed instead saving it to disk and get image filename
this include test and type hint for both affected function
Event six package is automatically installed with tensorflow, but I think that it should be included DeepDanbooru's dependencies if DD use it explicitly.
evaluate_image
now can accept image BytesIO instead just image filename.this is needed when the function is used on flask views. in that case the received posted image can be directly processed instead saving it to disk and get image filename
this include test and type hint for both affected function