chore
This commit is contained in:
parent
3c18ce34c7
commit
26174d4c10
@ -793,7 +793,7 @@ export const Configs: FC = observer(() => {
|
|||||||
const modelPath = `${manifest.localModelDir}/${selectedConfig.modelParameters.modelName}`;
|
const modelPath = `${manifest.localModelDir}/${selectedConfig.modelParameters.modelName}`;
|
||||||
if (await FileExists(modelPath)) {
|
if (await FileExists(modelPath)) {
|
||||||
const strategy = getStrategy(selectedConfig);
|
const strategy = getStrategy(selectedConfig);
|
||||||
const newModelPath = modelPath + '-' + strategy.replace(/[> *+]/g, '-');
|
const newModelPath = modelPath + '-' + strategy.replace(/[:> *+]/g, '-');
|
||||||
toast(t('Start Converting'), { autoClose: 1000, type: 'info' });
|
toast(t('Start Converting'), { autoClose: 1000, type: 'info' });
|
||||||
ConvertModel(modelPath, strategy, newModelPath).then(() => {
|
ConvertModel(modelPath, strategy, newModelPath).then(() => {
|
||||||
toast(`${t('Convert Success')} - ${newModelPath}`, { type: 'success' });
|
toast(`${t('Convert Success')} - ${newModelPath}`, { type: 'success' });
|
||||||
|
2
main.go
2
main.go
@ -38,7 +38,7 @@ func main() {
|
|||||||
err := wails.Run(&options.App{
|
err := wails.Run(&options.App{
|
||||||
Title: "RWKV-Runner",
|
Title: "RWKV-Runner",
|
||||||
Width: 1024,
|
Width: 1024,
|
||||||
Height: 640,
|
Height: 680,
|
||||||
MinWidth: 375,
|
MinWidth: 375,
|
||||||
MinHeight: 640,
|
MinHeight: 640,
|
||||||
AssetServer: &assetserver.Options{
|
AssetServer: &assetserver.Options{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user