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 e8236e1 commit e2024c1Copy full SHA for e2024c1
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,
@@ -1266,6 +1265,7 @@ export class ComfyApp {
1266
1265
* @param {File} file
1267
*/
1268
async handleFile(file: File) {
+ const { getFileHandler } = await import('@/utils/fileHandlers')
1269
const removeExt = (f: string) => {
1270
if (!f) return f
1271
const p = f.lastIndexOf('.')
0 commit comments