Skip to content

Commit

Permalink
图片识别问题
Browse files Browse the repository at this point in the history
  • Loading branch information
renqabs committed Mar 12, 2024
1 parent ce01ef6 commit 2b44c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/chat-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function ChatImage({ children, uploadImage }: React.PropsWithChildren<Cha
}
}, [panel])

return !enableGpt && !systemPrompts && (
return (
<div className="visual-search-container">
<div onClick={() => panel === 'none' ? setPanel('normal') : setPanel('none')}>{children}</div>
<div className={cn('visual-search', panel)} onClick={preventDefault}>
Expand Down

0 comments on commit 2b44c92

Please sign in to comment.