Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
5ff3d4eb
Unverified
Commit
5ff3d4eb
authored
Jun 27, 2024
by
Chenlei Hu
Committed by
GitHub
Jun 27, 2024
Browse files
Fix audio upload when no audio in input dir (#3891)
parent
4f9d2b05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
web/extensions/core/uploadAudio.js
web/extensions/core/uploadAudio.js
+3
-1
No files found.
web/extensions/core/uploadAudio.js
View file @
5ff3d4eb
...
@@ -145,7 +145,9 @@ app.registerExtension({
...
@@ -145,7 +145,9 @@ app.registerExtension({
)
)
}
}
// Initially load default audio file to audioUIWidget.
// Initially load default audio file to audioUIWidget.
onAudioWidgetUpdate
()
if
(
audioWidget
.
value
)
{
onAudioWidgetUpdate
()
}
audioWidget
.
callback
=
onAudioWidgetUpdate
audioWidget
.
callback
=
onAudioWidgetUpdate
const
fileInput
=
document
.
createElement
(
"
input
"
)
const
fileInput
=
document
.
createElement
(
"
input
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment