forked from open-webui/open-webui
feat: return file_name for model name
This commit is contained in:
parent
232401a042
commit
ee83791596
2 changed files with 10 additions and 6 deletions
|
@ -276,6 +276,7 @@
|
|||
|
||||
const uploadModelHandler = async () => {
|
||||
modelTransferring = true;
|
||||
uploadProgress = 0;
|
||||
let uploaded = false;
|
||||
let fileResponse = null;
|
||||
let name = '';
|
||||
|
@ -422,6 +423,8 @@
|
|||
modelFileUrl = '';
|
||||
modelInputFile = '';
|
||||
modelTransferring = false;
|
||||
uploadProgress = null;
|
||||
|
||||
models.set(await getModels());
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue