@Bhack Did you commented the lines in run_inference() . I updated the github. If you run it now you will see the error.
def run_inference(image):
#     interpreter = tf.lite.Interpreter(model_path="quant_model.tflite")
#     interpreter.allocate_tensors()
#     input_details = interpreter.get_input_details()
#     output_details = interpreter.get_output_details()
    # perform inference and parse the outputs
    interpreter.set_tensor(input_details[0]['index'], image)
    interpreter.invoke()
    outputs = interpreter.get_tensor(output_details[0]['index'])[0]

    return outputs