Skip to content

Commit c585147

Browse files
style: update icon
1 parent 28acc2e commit c585147

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

ui/src/assets/icon_text-image.svg

Lines changed: 6 additions & 0 deletions
Loading

ui/src/workflow/common/data.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export const speechToTextNode = {
270270
}
271271
export const textToSpeechNode = {
272272
type: WorkflowType.TextToSpeechNode,
273-
text: '将文本通过语音合成模型转换为音频文件',
273+
text: '将文本通过语音合成模型转换为音频',
274274
label: '文本转语音',
275275
height: 252,
276276
properties: {
@@ -287,17 +287,17 @@ export const textToSpeechNode = {
287287
}
288288
export const menuNodes = [
289289
aiChatNode,
290+
imageUnderstandNode,
291+
imageGenerateNode,
290292
searchDatasetNode,
291-
questionNode,
293+
rerankerNode,
292294
conditionNode,
293295
replyNode,
294-
rerankerNode,
295-
documentExtractNode,
296-
imageUnderstandNode,
297296
formNode,
297+
questionNode,
298+
documentExtractNode,
298299
speechToTextNode,
299-
textToSpeechNode,
300-
imageGenerateNode
300+
textToSpeechNode
301301
]
302302

303303
/**
@@ -390,7 +390,7 @@ export const nodeDict: any = {
390390
[WorkflowType.ImageUnderstandNode]: imageUnderstandNode,
391391
[WorkflowType.TextToSpeechNode]: textToSpeechNode,
392392
[WorkflowType.SpeechToTextNode]: speechToTextNode,
393-
[WorkflowType.ImageGenerateNode]: imageGenerateNode
393+
[WorkflowType.ImageGenerateNode]: imageGenerateNode
394394
}
395395
export function isWorkFlow(type: string | undefined) {
396396
return type === 'WORK_FLOW'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
2-
<AppAvatar shape="square" style="background: #14C0FF;">
3-
<img src="@/assets/icon_image.svg" style="width: 65%" alt="" />
2+
<AppAvatar shape="square" style="background: #FF8800;">
3+
<img src="@/assets/icon_text-image.svg" style="width: 65%" alt="" />
44
</AppAvatar>
55
</template>
66
<script setup lang="ts"></script>

0 commit comments

Comments
 (0)