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
open-webui
Commits
1b100660
"...composable_kernel_onnxruntime.git" did not exist on "ad541ad6b9de9b0579d5254f82e9d5b86103d309"
Commit
1b100660
authored
Jun 19, 2024
by
Timothy J. Baek
Browse files
fix: image
parent
1007f67a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+4
-1
No files found.
src/lib/components/chat/Chat.svelte
View file @
1b100660
...
...
@@ -323,7 +323,10 @@
} else if (messages.length != 0 && messages.at(-1).done != true) {
// Response not done
console.log('wait');
} else if (files.length > 0 && files.filter((file) => file.status !== 'processed').length > 0) {
} else if (
files.length > 0 &&
files.filter((file) => file.type !== 'image' && file.status !== 'processed').length > 0
) {
// Upload not done
toast.error(
$i18n.t(
...
...
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