From 3369106b6320a212b93d8fb3f716354491131f5b Mon Sep 17 00:00:00 2001 From: yiboyasss <143868051+yiboyasss@users.noreply.github.com> Date: Tue, 24 Sep 2024 10:13:42 +0800 Subject: [PATCH] BUG: [UI] Fix 'Model Format' bug on model registration page. (#2353) --- .../ui/src/scenes/register_model/components/addModelSpecs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xinference/web/ui/src/scenes/register_model/components/addModelSpecs.js b/xinference/web/ui/src/scenes/register_model/components/addModelSpecs.js index 9d21e5005a..e2107c6dde 100644 --- a/xinference/web/ui/src/scenes/register_model/components/addModelSpecs.js +++ b/xinference/web/ui/src/scenes/register_model/components/addModelSpecs.js @@ -280,6 +280,8 @@ const AddModelSpecs = ({ new Set([...quantizationAlertId, item.id]) ) setQuantizationAlertId(quantizationAlertIdArr) + } else { + setQuantizationAlertId([]) } }} >