@Diyar

Есть кто пользовался voice kit2?

pi@raspberrypi:~/AIY-projects-python/src/examples/voice $ sudo python3 assistant_grpc_demo.py
DEBUG:google.auth.transport.requests:Making request: POST https://oauth2.googleapis.com/token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): oauth2.googleapis.com:443
DEBUG:urllib3.connectionpool:https://oauth2.google... "POST /token HTTP/1.1" 200 None
DEBUG:urllib3.util.retry:Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None)
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): embeddedassistant.googleapis.com:443
DEBUG:urllib3.connectionpool:https://embeddedassis... "GET /v1alpha2/projects/aiy-kit-302009/deviceModels/aiy-kit-302009-voice-kit HTTP/1.1" 403 None
Traceback (most recent call last):
File "assistant_grpc_demo.py", line 57, in
main()
File "assistant_grpc_demo.py", line 49, in main
language_code=args.language)
File "/opt/aiy/projects-python/src/aiy/assistant/grpc.py", line 205, in __init__
super().__init__(language_code, volume_percentage)
File "/opt/aiy/projects-python/src/aiy/assistant/grpc.py", line 65, in __init__
device_model_id, device_id = device_helpers.get_ids_for_service(credentials)
File "/opt/aiy/projects-python/src/aiy/assistant/device_helpers.py", line 152, in get_ids_for_service
model_id = register_model_id(credentials)
File "/opt/aiy/projects-python/src/aiy/assistant/device_helpers.py", line 93, in register_model_id
r.raise_for_status()
File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://embeddedassistant.googleapis.com/v1alpha2/...
  • Вопрос задан
  • 47 просмотров
Пригласить эксперта
Ответы на вопрос 1
конечно есть
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы