Warning: session_start(): open(/var/lib/php/sessions/sess_ntpqb8uhpt185o51csbcv0a7c5, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
cmodule DeepSpeechLastRecording > DynPrintLogAndEnabled {
//switchable S envVars;
switchable bool useKnownPlaces;
start {
dm_requireQuickAudioRecord();
dm_onNewRecording_q/*OrWAVOnClipboard*/(voidfunc(File f) enter {
if (!enabled) ret;
print("Analyzing " + f.getName());
fS json = lastLine(trim(vosk(f, /*+envVars*/ +useKnownPlaces)));
S text = cast jsonDecodeMap(json).get('text);
flatInfoBox(text);
swing {
S info = "vosk english";
if (empty(text)) {
//katze_userSaid(info, "?");
} else {
temp dm_generalMap_tempPut('topInputInfo, info);
dm_setAIBarTextAndFire(text);
}
}
});
}
}