This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /obj/effect/abstract/held_tk_effect | |
| name = "held_tk_effect" | |
| icon = 'modular_skyrat/master_files/icons/effects/tele_effects.dmi' | |
| icon_state = "holder" | |
| layer = HANDS_LAYER | |
| vis_flags = VIS_INHERIT_DIR | VIS_INHERIT_PLANE | VIS_INHERIT_ID | |
| var/is_right = TRUE | |
| var/list/base_x | |
| var/list/base_y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import torch | |
| from TTS.api import TTS | |
| import os | |
| import signal | |
| import sys | |
| import io | |
| import time | |
| import json | |
| import gc | |
| import random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import io | |
| import gc | |
| import subprocess | |
| import requests | |
| import re | |
| from flask import Flask, request, send_file, abort, make_response | |
| app = Flask(__name__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import torch | |
| from TTS.api import TTS | |
| import os | |
| import io | |
| import json | |
| import gc | |
| import random | |
| import numpy as np | |
| import ffmpeg | |
| from typing import * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import io | |
| import glob, os | |
| import pprint | |
| import soundfile | |
| def main(): | |
| file_object = open('compiled_dataset.txt', 'a') | |
| os.mkdir("processed_audio") | |
| line_count = 0 | |
| for filename in glob.iglob('./**', recursive=True): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from google.cloud import speech_v1p1beta1 | |
| import io | |
| import glob, os | |
| def sample_recognize(local_file_path, model): | |
| client = speech_v1p1beta1.SpeechClient() | |
| #local_file_path = 'resources/hello.wav' | |
| #model = 'video' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #wrapper #content .postlist .postblock .postmain .postinner .postuser .background-image, | |
| #wrapper #content .postlist .postblock .postmain .postinner .postuser .user-card, | |
| .postrender .postinner>.postuser .postavatar { | |
| display: none; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require("lib/units/enemies/cop/logics/CopLogicBase") | |
| require("lib/units/enemies/cop/logics/CopLogicInactive") | |
| require("lib/units/enemies/cop/logics/CopLogicIdle") | |
| require("lib/units/enemies/cop/logics/CopLogicAttack") | |
| require("lib/units/enemies/cop/logics/CopLogicIntimidated") | |
| require("lib/units/enemies/cop/logics/CopLogicTravel") | |
| require("lib/units/enemies/cop/logics/CopLogicArrest") | |
| require("lib/units/enemies/cop/logics/CopLogicGuard") | |
| require("lib/units/enemies/cop/logics/CopLogicFlee") | |
| require("lib/units/enemies/cop/logics/CopLogicSniper") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function CharacterTweakData:is_special_unit(enemy_tweak) | |
| local is_special = false | |
| if self[enemy_tweak]["tags"] and #self[enemy_tweak].tags then | |
| is_special = true | |
| end | |
| return is_special | |
| end | |
| function CharacterTweakData:_multiply_weapon_delay(weap_usage_table, mul) | |
| for _, weap_id in ipairs(self.weap_ids) do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wwh = { | |
| path = "units/pd2_dlc_wwh/characters/", | |
| list = { | |
| "ene_female_crew", | |
| "ene_male_crew_01", | |
| "ene_male_crew_02", | |
| "ene_captain", | |
| "ene_locke" | |
| } | |
| } |
NewerOlder