mirror of
https://github.com/Yanyutin753/ChatGPT-Next-Web-LangChain-Gpt-4-All.git
synced 2025-10-13 14:35:00 +00:00
Update chat.tsx
This commit is contained in:
@@ -622,22 +622,24 @@ export function ChatActions(props: {
|
||||
)}
|
||||
{(currentModel.includes("vision") || currentModel.includes("gizmo")) && (
|
||||
<ChatAction
|
||||
onClick={selectImage}
|
||||
onClick={selectImages}
|
||||
text="选择文件"
|
||||
loding={uploadLoading}
|
||||
loading={uploadLoading}
|
||||
icon={<UploadIcon />}
|
||||
innerNode={
|
||||
<input
|
||||
type="file"
|
||||
multiple
|
||||
accept="*/*"
|
||||
id="chat-image-file-select-upload"
|
||||
style={{ display: "none" }}
|
||||
onChange={onImageSelected}
|
||||
onChange={onImagesSelected}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
{showModelSelector && (
|
||||
<Selector
|
||||
defaultSelectedValue={currentModel}
|
||||
|
Reference in New Issue
Block a user