Skip to content

Commit

Permalink
fix typo + missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
jbilcke-hf committed Aug 15, 2024
1 parent 0469af4 commit a55d5b9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/app/src/components/settings/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function SettingsSectionImage() {
/>

<FormArea
label="Custom ComfyUI workflows for images"
label="Custom ComfyUI workflow for images"
value={comfyWorkflowForImage}
defaultValue={defaultSettings.comfyWorkflowForImage}
onChange={setComfyWorkflowForImage}
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/settings/music.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function SettingsSectionMusic() {
<div className="flex flex-col justify-between space-y-6">
<FormSection label="Music rendering">
<FormArea
label="Custom ComfyUI workflows for music"
label="Custom ComfyUI workflow for music"
value={comfyWorkflowForMusic}
defaultValue={defaultSettings.comfyWorkflowForMusic}
onChange={setComfyWorkflowForMusic}
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/settings/sound.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function SettingsSectionSound() {
<div className="flex flex-col justify-between space-y-6">
<FormSection label="Sound rendering">
<FormArea
label="Custom ComfyUI workflows for sound"
label="Custom ComfyUI workflow for sound"
value={comfyWorkflowForSound}
defaultValue={defaultSettings.comfyWorkflowForSound}
onChange={setComfyWorkflowForSound}
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/settings/video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function SettingsSectionVideo() {
/>

<FormArea
label="Custom ComfyUI workflows for video"
label="Custom ComfyUI workflow for video"
value={comfyWorkflowForVideo}
defaultValue={defaultSettings.comfyWorkflowForVideo}
onChange={setComfyWorkflowForVideo}
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/settings/voice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function SettingsSectionVoice() {
<div className="flex flex-col justify-between space-y-6">
<FormSection label="Voice rendering">
<FormArea
label="Custom ComfyUI workflows for voice"
label="Custom ComfyUI workflow for voice"
value={comfyWorkflowForVoice}
defaultValue={defaultSettings.comfyWorkflowForVoice}
onChange={setComfyWorkflowForVoice}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { ClapWorkflow } from '@aitube/clap'

import { anthropicWorkflows } from './anthropic'
import { DynamicClapWorkflow } from './common/types'

import { aitubeWorkflows } from './aitube'
import { anthropicWorkflows } from './anthropic'
import { bigModelWorkflows } from './bigmodel'
import { cohereWorkflows } from './cohere'
import { comfydeployWorkflows } from './comfydeploy'
import { comfyicuWorkflows } from './comfyicu'
Expand All @@ -12,19 +15,21 @@ import { fireworksaiWorkflows } from './fireworksai'
import { googleWorkflows } from './google'
import { groqWorkflows } from './groq'
import { huggingfaceWorkflows } from './huggingface'
import { letzAiWorkflows } from './letzai'
import { mistralaiWorkflows } from './mistralai'
import { openaiWorkflows } from './openai'
import { piApiWorkflows } from './piapi'
import { replicateWorkflows } from './replicate'
import { stabilityaiWorkflows } from './stabilityai'
import { DynamicClapWorkflow } from './common/types'

// I haven't ported all the workflows yet, there are still some here
// (eg. utilities for segmentation etc)
// https://github.com/jbilcke-hf/clapper/blob/872298838ea3721f9945140fb00f0239b253b172/src/components/settings/constants.ts#L329

export const staticWorkflows: ClapWorkflow[] = [
...anthropicWorkflows,
...aitubeWorkflows,
...anthropicWorkflows,
...bigModelWorkflows,
...cohereWorkflows,
...comfydeployWorkflows,
...comfyicuWorkflows,
Expand All @@ -35,8 +40,10 @@ export const staticWorkflows: ClapWorkflow[] = [
...googleWorkflows,
...groqWorkflows,
...huggingfaceWorkflows,
...letzAiWorkflows,
...mistralaiWorkflows,
...openaiWorkflows,
...piApiWorkflows,
...replicateWorkflows,
...stabilityaiWorkflows,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const piApiWorkflows: ClapWorkflow[] = [
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
provider: ClapWorkflowProvider.PIAPI,
category: ClapWorkflowCategory.IMAGE_GENERATION,
category: ClapWorkflowCategory.VIDEO_GENERATION,
data: 'luma/v1/video', // <- this value isn't really used, it's just to put something here
inputFields: [
genericImageUrl,
Expand Down

0 comments on commit a55d5b9

Please sign in to comment.