This commit is contained in:
josc146 2023-05-31 14:14:25 +08:00
parent 3c18ce34c7
commit 26174d4c10
2 changed files with 2 additions and 2 deletions

View File

@ -793,7 +793,7 @@ export const Configs: FC = observer(() => {
const modelPath = `${manifest.localModelDir}/${selectedConfig.modelParameters.modelName}`;
if (await FileExists(modelPath)) {
const strategy = getStrategy(selectedConfig);
const newModelPath = modelPath + '-' + strategy.replace(/[> *+]/g, '-');
const newModelPath = modelPath + '-' + strategy.replace(/[:> *+]/g, '-');
toast(t('Start Converting'), { autoClose: 1000, type: 'info' });
ConvertModel(modelPath, strategy, newModelPath).then(() => {
toast(`${t('Convert Success')} - ${newModelPath}`, { type: 'success' });

View File

@ -38,7 +38,7 @@ func main() {
err := wails.Run(&options.App{
Title: "RWKV-Runner",
Width: 1024,
Height: 640,
Height: 680,
MinWidth: 375,
MinHeight: 640,
AssetServer: &assetserver.Options{