From e566e03a6bc1caf3894a80708c27130547a14e4e Mon Sep 17 00:00:00 2001 From: Jihyun Kang Date: Tue, 7 Jan 2025 17:04:31 +0900 Subject: [PATCH] add: temporally add talkativot service site as iframe in model card of talkativot-standalone --- react/src/components/ModelCardModal.tsx | 44 ++++++++++++++++-------- react/src/components/ModelTryContent.tsx | 24 +++++++++---- react/src/pages/ModelStoreListPage.tsx | 1 + 3 files changed, 48 insertions(+), 21 deletions(-) diff --git a/react/src/components/ModelCardModal.tsx b/react/src/components/ModelCardModal.tsx index eee6b022da..3eeeb524ae 100644 --- a/react/src/components/ModelCardModal.tsx +++ b/react/src/components/ModelCardModal.tsx @@ -160,20 +160,36 @@ const ModelCardModal: React.FC = ({ gap={'sm'} style={{ flex: 1 }} > - + {model_card?.name === 'Talkativot UI' ? ( + // FIXME: temporally add iframe for Talkativot UI +