We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6289ac9 commit 27dcc19Copy full SHA for 27dcc19
src/scripts/app.ts
@@ -52,7 +52,6 @@ import type { ComfyExtension, MissingNodeType } from '@/types/comfy'
52
import { ExtensionManager } from '@/types/extensionTypes'
53
import { ColorAdjustOptions, adjustColor } from '@/utils/colorUtil'
54
import { graphToPrompt } from '@/utils/executionUtil'
55
-import { getFileHandler } from '@/utils/fileHandlers'
56
import {
57
executeWidgetsCallback,
58
fixLinkInputSlots,
@@ -1263,6 +1262,7 @@ export class ComfyApp {
1263
1262
* @param {File} file
1264
*/
1265
async handleFile(file: File) {
+ const { getFileHandler } = await import('@/utils/fileHandlers')
1266
const removeExt = (f: string) => {
1267
if (!f) return f
1268
const p = f.lastIndexOf('.')
0 commit comments