-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tweak: new reserved tts server #620
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Раз тут авторизация через заголовок запроса, то добавь запрет на чтение заголовков хттп запросов тоже. Ну либо сделай то, что мне лень было делать - добавь цензуру токенов с оставлением возможности просматривать запросы.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А вообще, не пойму, зачем пропихнул везде файлнейм, но с телефона такое себе разбираться
api_url = "https://pubtts.ss14.su/api/v1/tts" | ||
skip_explicit_file_save = TRUE | ||
|
||
/datum/tts_provider/white_dream/vv_edit_var(var_name, var_value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А тут я скилл ишу, что засунул это в силеро. Этому лучше быть в родительском классе просто, чем копипастить в два места
if(LAZYLEN(tts_requests_queue) > tts_requests_queue_limit) | ||
is_enabled = FALSE | ||
to_chat(world, span_announcement("SERVER: очередь запросов превысила лимит, подсистема SStts220 принудительно отключена!")) | ||
return FALSE | ||
|
||
if(tts_rps_counter < tts_rps_limit) | ||
var/datum/tts_provider/provider = seed.provider | ||
provider.request(text, seed, proc_callback) | ||
provider.request(text, seed, proc_callback, fileName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Звонили из зоопарка, говорят шарписы верблюда потеряли. Не видели?
Ну там вот ещё апдейт по голосам... с https://pubtts.ss14.su/api/v1/tts/speakers /datum/tts_seed/white_dream/elenwen
name = "Elenwen"
value = "elenwen"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/emperor
name = "Emperor"
value = "emperor"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/guard
name = "Guard"
value = "guard"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/hagraven
name = "Hagraven"
value = "hagraven"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/hermaeus_mora
name = "Hermaeus Mora"
value = "hermaeus_mora"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/nord
name = "Nord"
value = "nord"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/ulfric
name = "Ulfric"
value = "ulfric"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/cerys
name = "Cerys"
value = "cerys"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/judy
name = "Judy"
value = "judy"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/mitch
name = "Mitch"
value = "mitch"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/skippy
name = "Skippy"
value = "skippy"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/butch
name = "Butch"
value = "butch"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/marcus
name = "Marcus"
value = "marcus"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/sulik
name = "Sulik"
value = "sulik"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/good_thalya
name = "Good Thalya"
value = "good_thalya"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE |
UPD: /datum/tts_seed/white_dream/astrid
name = "Astrid"
value = "astrid"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/maven
name = "Maven"
value = "maven"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/nazir
name = "Nazir"
value = "nazir"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/jackie
name = "Jackie"
value = "jackie"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/evil_thalya
name = "Evil Thalya"
value = "evil_thalya"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/dude
name = "Dude"
value = "dude"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/anduin
name = "Anduin"
value = "anduin"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/brukan
name = "Brukan"
value = "brukan"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE |
e6c58c1
to
add632e
Compare
UPD: /datum/tts_seed/white_dream/puchkow
name = "Puchkow"
value = "puchkow"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/moriarti
name = "Moriarti"
value = "moriarti"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/neco_arc_2
name = "Neco Arc 2"
value = "neco_arc_2"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/angry_neco_arc
name = "Angry Neco Arc"
value = "angry_neco_arc"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/villager
name = "Villager"
value = "villager"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/squidward
name = "Squidward"
value = "squidward"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/garrosh
name = "Garrosh"
value = "garrosh"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/jaina
name = "Jaina"
value = "jaina"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/adjutant
name = "Adjutant"
value = "adjutant"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/hanson
name = "Hanson"
value = "hanson"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/bralik
name = "Bralik"
value = "bralik"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/horner
name = "Horner"
value = "horner"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/amitkakkar
name = "Amitkakkar"
value = "amitkakkar"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/eleazarfig
name = "Eleazarfig"
value = "eleazarfig"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/ernielark
name = "Ernielark"
value = "ernielark"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/ignatiaflootravel
name = "Ignatiaflootravel"
value = "ignatiaflootravel"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/lodgok
name = "Lodgok"
value = "lodgok"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/phineasblack
name = "Phineasblack"
value = "phineasblack"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/ranrak
name = "Ranrak"
value = "ranrak"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/victorrookwood
name = "Victorrookwood"
value = "victorrookwood"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/zenobianoke
name = "Zenobianoke"
value = "zenobianoke"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
/datum/tts_seed/white_dream/gladwinmoon
name = "Gladwinmoon"
value = "gladwinmoon"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_MALE
/datum/tts_seed/white_dream/matildaweasley
name = "Matildaweasley"
value = "matildaweasley"
category = TTS_CATEGORY_OTHER
gender = TTS_GENDER_FEMALE
|
Когда голос ПАПИЧА в моей любимой игре про космических космонавтиков 13? |
Задрафчу пока, чтоб глаза не мозолило |
This pull request seems to be stale as there have been no changes in 14 days, please make changes within 7 days or the PR will be closed. If you believe this is a mistake, please inform a development team member on Discord. |
This pull request seems to be stale as there have been no changes in 14 days, please make changes within 7 days or the PR will be closed. If you believe this is a mistake, please inform a development team member on Discord. |
This pull request has not received any updates since being marked stale, and as such is now being automatically closed. Please feel free to re-open this pull request or open a new one once you have new updates. |
Что этот PR делает
Добавлена реализация нового ТТС провайдера от WD.
Почему это хорошо для игры
На случай проблем с Silero есть резервный провайдер.
Изображения изменений
Тестирование
Changelog
🆑
tweak: Резервный ТТС провайдер от WD
/:cl: