add web-rwkv-converter (Safetensors Convert no longer depends on Python)

This commit is contained in:
josc146
2023-12-07 23:26:39 +08:00
parent 1c683087f4
commit 5ce84edc3d
8 changed files with 16 additions and 30 deletions

View File

@@ -90,7 +90,7 @@ export const RunButton: FC<{ onClickRun?: MouseEventHandler, iconMode?: boolean
return;
} else {
toastWithButton(t('Please convert model to safe tensors format first'), t('Convert'), () => {
convertToSt(navigate, modelConfig);
convertToSt(modelConfig);
});
commonStore.setStatus({ status: ModelStatus.Offline });
return;