Open papsipublic opened 3 years ago
there is also an error line after this message:
Exception: 'NoneType' object is not subscriptable
which I assume it will wash away if the API service would be available. However, if this may not be the case, please instruct.
Thanks
do I need to create API_KEY and NER_API_SECRET if I want to run this base model in my system?
hI,
i am trying to run the code in its basic "play around" mode:
python src/manual_inference/manual_inference.py --model_to_load=pretrained_models/trained_model.pt --database=cre_Theme_park
and I am getting the following error
ERROR!!! HTTP: 400. for request 'how many parks are there' { "error": { "code": 400, "message": "API key not valid. Please pass a valid API key.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "API_KEY_INVALID", "domain": "googleapis.com", "metadata": { "service": "language.googleapis.com" } } ] } }
Could you kindly advice on what's need to be done?
Thank you