fix the image
MODIFY
tika-parsers/src/main/resources/org/apache/tika/parser/recognition/tf/classify_image.py
tika-parsers/src/main/resources/org/apache/tika/parser/recognition/tf/classify_image.py
@@ -230,7 +230,7 @@ def maybe_download_and_extract():
def main(_):
maybe_download_and_extract()
- image = (FLAGS.image_file if FLAGS.image_file)
+ image = FLAGS.image_file
run_inference_on_image(image)

fix the image