Compiling TFLITE model issues

Trying to compile post quantized model in TFLITE model for TVM module. The model weights are in int8, but when i run the model it gives out following errors

assert weight_tensor_type in (TensorType.UINT8, TensorType.FLOAT32)

as model weights are already in uint8, still it gives an error