yum-slop/TaSTT
Free self-hosted STT for VRChat.
git clone https://git.yummers.dev/yum-slop/TaSTT
f6b93a2
v1.0.0-beta00
1const { execSync } = require ( 'child_process' ) ; 2const path = require ( 'path' ) ; 3const fs = require ( 'fs' ) ; 4 5const projectRoot = path . join ( __dirname , '..' , '..' ) ; 6const venvPath = path . join ( projectRoot , 'venv_clean' ) ; 7const dllPath = path . join ( projectRoot , 'dll_empty' ) ; 8 9console . log ( 'Creating empty virtual environment and dll directory...' ) ; 10 11// Create empty dll directory 12if ( ! fs . existsSync ( dllPath )) { 13fs . mkdirSync ( dllPath , { recursive : true }) ; 14console . log ( 'Created empty dll directory' ) ; 15} 16 17try { 18console . log ( 'Creating new venv...' ) ; 19execSync ( `python -m venv " ${ venvPath } "` , { stdio : 'inherit' }) ; 20console . log ( 'Empty venv created successfully!' ) ; 21} catch ( error ) { 22console . error ( 'Failed to create venv:' , error ) ; 23process . exit ( 1 ) ; 24} 25