fix: upload image (#1522)

This commit is contained in:
zxhlyh
2023-11-16 11:56:11 +08:00
committed by GitHub
parent d9336d9ae4
commit cfbfd59b8f
7 changed files with 40 additions and 7 deletions

View File

@@ -161,7 +161,7 @@ const PromptValuePanel: FC<IPromptValuePanelProps> = ({
{
appType === AppType.completion && visionConfig?.enabled && (
<div className="mt-3 xl:flex justify-between">
<div className="mr-1 py-2 shrink-0 w-[120px] text-sm text-gray-900">Image Upload</div>
<div className="mr-1 py-2 shrink-0 w-[120px] text-sm text-gray-900">{t('common.imageUploader.imageUpload')}</div>
<div className='grow'>
<TextGenerationImageUploader
settings={visionConfig}