Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: screenplay not loaded when importing txt or clap #34

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions public/images/providers/comfyui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/api/resolve/providers/comfyui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function resolveSegment(
// for API doc please see:
// https://github.com/tctien342/comfyui-sdk/blob/main/examples/example-t2i.ts
const api = new ComfyApi(
request.settings.comfyUiApiUrl || 'http://localhost:8189'
request.settings.comfyUiApiUrl || 'http://localhost:8188'
).init()

if (request.segment.category === ClapSegmentCategory.STORYBOARD) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/core/providers/logos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ClapWorkflowProvider } from '@aitube/clap'

const none = '/images/providers/none.png'
const builtin = '/images/providers/none.png' // <-- TODO put Clapper logo here
const comfyui = '/images/providers/none.png' // <-- TODO put ComfyUI logo here
const comfyui = '/images/providers/comfyui.png'
const anthropic = '/images/providers/anthropic.png'
const cohere = '/images/providers/cohere.png'
const comfyicu = '/images/providers/comfyicu.png'
Expand Down
4 changes: 2 additions & 2 deletions src/components/settings/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export function SettingsSectionProvider() {
label="ComfyUI API URL"
value={comfyUiApiUrl}
defaultValue={defaultSettings.comfyUiApiUrl}
onChange={setComfyIcuApiKey}
onChange={setComfyUiApiUrl}
type="text"
/>

Expand All @@ -132,7 +132,7 @@ export function SettingsSectionProvider() {
value={comfyUiClientId}
defaultValue={defaultSettings.comfyUiClientId}
onChange={setComfyUiClientId}
type={apiKeyType}
type="text"
/>

<FormInput
Expand Down
2 changes: 1 addition & 1 deletion src/services/settings/getDefaultSettingsState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function getDefaultSettingsState(): SettingsState {
comfyWorkflowForSound: '{}',
comfyWorkflowForMusic: '{}',

comfyUiApiUrl: 'http://localhost:8189',
comfyUiApiUrl: 'http://localhost:8188',

// those are not designed for Hugging Face specifically,
// but to be compatible with any Gradio API URL that the
Expand Down
Loading