This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
yandex_speechkit [2020/12/18 12:07] val [В первый раз] |
yandex_speechkit [2022/04/17 18:54] val |
||
---|---|---|---|
Line 31: | Line 31: | ||
Please go to https://oauth.yandex.ru/authorize?response_type=token&client_id=1a6990aa636648e9b2ef855fa7bec2fb in order to obtain OAuth token. | Please go to https://oauth.yandex.ru/authorize?response_type=token&client_id=1a6990aa636648e9b2ef855fa7bec2fb in order to obtain OAuth token. | ||
- | Please enter OAuth token: AgAAAAA5aXjoAATuwTc4tOJXokpGsOqgIlk1NYI | + | Please enter OAuth token: A............................................I |
... | ... | ||
Please choose folder to use: | Please choose folder to use: | ||
Line 41: | Line 41: | ||
==== После "Выйти на всех устройствах" ==== | ==== После "Выйти на всех устройствах" ==== | ||
<code> | <code> | ||
- | $ $HOME/yandex-cloud/bin/yc config set token A.....................................k | + | $ $HOME/yandex-cloud/bin/yc config set token A............................................I |
$ $HOME/yandex-cloud/bin/yc config list | $ $HOME/yandex-cloud/bin/yc config list | ||
Line 50: | Line 50: | ||
<code> | <code> | ||
$ wget http://val.bmstu.ru/unix/Media/speech.ogg | $ wget http://val.bmstu.ru/unix/Media/speech.ogg | ||
+ | или | ||
+ | $ mv -v /usr/share/asterisk/sounds/recordings/speech.ogg . | ||
$ IAM_TOKEN=`$HOME/yandex-cloud/bin/yc iam create-token` | $ IAM_TOKEN=`$HOME/yandex-cloud/bin/yc iam create-token` |