You've already forked Irene-Voice-Assistant
mirror of
https://github.com/janvarev/Irene-Voice-Assistant.git
synced 2025-11-26 22:50:58 +02:00
7.5.1 - небольшой фикс для fuzzy - забыл возврат из функции
This commit is contained in:
@@ -32,7 +32,7 @@ def start(core:VACore):
|
|||||||
"contextRemoteWaitForCall": False,
|
"contextRemoteWaitForCall": False,
|
||||||
|
|
||||||
"tempDir": "temp",
|
"tempDir": "temp",
|
||||||
"fuzzyThreshold": 0.95,
|
"fuzzyThreshold": 0.5,
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ from jaa import JaaCore
|
|||||||
|
|
||||||
from collections.abc import Callable
|
from collections.abc import Callable
|
||||||
|
|
||||||
version = "7.5"
|
version = "7.5.1"
|
||||||
|
|
||||||
# main VACore class
|
# main VACore class
|
||||||
|
|
||||||
@@ -319,7 +319,7 @@ class VACore(JaaCore):
|
|||||||
if self.plugin_options("core")["fuzzyThreshold"] < probability:
|
if self.plugin_options("core")["fuzzyThreshold"] < probability:
|
||||||
next_context = context[keyall]
|
next_context = context[keyall]
|
||||||
self.execute_next(rest_phrase, next_context)
|
self.execute_next(rest_phrase, next_context)
|
||||||
|
return
|
||||||
|
|
||||||
# if not founded
|
# if not founded
|
||||||
if self.context == None:
|
if self.context == None:
|
||||||
|
|||||||
Reference in New Issue
Block a user