mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-15 19:42:08 +03:00
model type does not need to match config model type
As long as a model is supported by a detector, it should be available in the list
This commit is contained in:
parent
60714a733e
commit
341619f3bd
@ -390,7 +390,6 @@ export default function FrigatePlusSettingsView({
|
|||||||
className="cursor-pointer"
|
className="cursor-pointer"
|
||||||
value={id}
|
value={id}
|
||||||
disabled={
|
disabled={
|
||||||
model.type != config.model.model_type ||
|
|
||||||
!model.supportedDetectors.includes(
|
!model.supportedDetectors.includes(
|
||||||
Object.values(config.detectors)[0]
|
Object.values(config.detectors)[0]
|
||||||
.type,
|
.type,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user