Error: instantiating `lp.GCVAgent.with_credential` returns module 'google.cloud.vision' has no attribute 'types'. 
+
+
+In this case, you have a newer version of the google-cloud-vision. Please consider downgrading the API using: 
+```bash
+pip install layoutparser[ocr]
+```
+
+