Skip to content

Commit

Permalink
fix app crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberhan123 committed Jan 12, 2024
1 parent 7919397 commit 90e112a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func NewApp() *App {
} else {
options.GpuEnable = false
}
options.FreeParamsImmediately = true
options.FreeParamsImmediately = false
options.Threads = goruntime.NumCPU()
return &App{
options: &options,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const Settings: FC<SettingsProps> = (props) => {
label="Free Params Immediately"
name="FreeParamsImmediately"
>
<Switch/>
<Switch disabled/>
</Form.Item>
</Col>
<Col>
Expand Down

0 comments on commit 90e112a

Please sign in to comment.