chore: app_state derives Debug/Default em TranscriptDraft
This commit is contained in:
1 parent
c142a11ed7
commit
ff43271b70
1 file changed
+2
-1
@@ -48,7 +48,8 @@ impl Default for ManagedAppState {
|
|||||||
|
|
||||||
impl ManagedAppState {
|
impl ManagedAppState {
|
||||||
pub fn sherpa_model_dir(&self) -> PathBuf {
|
pub fn sherpa_model_dir(&self) -> PathBuf {
|
||||||
self.model_dir.join("sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8")
|
self.model_dir
|
||||||
|
.join("sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn snapshot(&self) -> Result<AppSnapshot, String> {
|
pub fn snapshot(&self) -> Result<AppSnapshot, String> {
|
||||||
|
|||||||
Reference in new issue
Block a user