mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-03 13:38:00 +00:00
feat: vision model (#489)
* mongo init * perf: mongo connect * perf: tts perf: whisper and tts peref: tts whisper permission log reabase (#488) * perf: modal * i18n * perf: schema lean * feat: vision model format * perf: tts loading * perf: static data * perf: tts * feat: image * perf: image * perf: upload image and title * perf: image size * doc * perf: color * doc * speaking can not select file * doc
This commit is contained in:
@@ -27,6 +27,7 @@ const MdImage = ({ src }: { src?: string }) => {
|
||||
borderRadius={'md'}
|
||||
src={src}
|
||||
alt={''}
|
||||
maxH={'150px'}
|
||||
fallbackSrc={'/imgs/errImg.png'}
|
||||
fallbackStrategy={'onError'}
|
||||
cursor={succeed ? 'pointer' : 'default'}
|
||||
@@ -45,7 +46,6 @@ const MdImage = ({ src }: { src?: string }) => {
|
||||
<Modal isOpen={isOpen} onClose={onClose}>
|
||||
<ModalOverlay />
|
||||
<ModalContent m={'auto'}>
|
||||
<ModalCloseButton />
|
||||
<Image
|
||||
src={src}
|
||||
alt={''}
|
||||
@@ -55,6 +55,7 @@ const MdImage = ({ src }: { src?: string }) => {
|
||||
objectFit={'contain'}
|
||||
/>
|
||||
</ModalContent>
|
||||
<ModalCloseButton bg={'myWhite.500'} zIndex={999999} />
|
||||
</Modal>
|
||||
</Skeleton>
|
||||
);
|
||||
|
Reference in New Issue
Block a user