From 070b53f3bfa1c7df95c699b86a9516912d711821 Mon Sep 17 00:00:00 2001 From: balibabu Date: Thu, 23 May 2024 14:13:09 +0800 Subject: [PATCH] feat: RAPTOR is not displayed when the parsing method is picture. (#897) ### What problem does this PR solve? Implements RAPTOR for better chunking #882 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/components/parse-configuration/index.tsx | 4 ++-- web/src/locales/zh-traditional.ts | 2 +- web/src/locales/zh.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/components/parse-configuration/index.tsx b/web/src/components/parse-configuration/index.tsx index 45e45bcdf..21a21e5ce 100644 --- a/web/src/components/parse-configuration/index.tsx +++ b/web/src/components/parse-configuration/index.tsx @@ -12,7 +12,7 @@ import { } from 'antd'; import random from 'lodash/random'; -export const excludedParseMethods = ['table', 'resume', 'one']; +export const excludedParseMethods = ['table', 'resume', 'one',"picture"]; export const showRaptorParseConfiguration = (parserId: string) => { return !excludedParseMethods.includes(parserId); @@ -78,7 +78,7 @@ const ParseConfiguration = () => {