mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-07 11:45:21 +00:00
lint
This commit is contained in:
parent
cc17b02b23
commit
4da5d5beaa
@ -139,13 +139,13 @@ func CreateHandler(cmd *cobra.Command, args []string) error {
|
||||
bar.Set(resp.Completed)
|
||||
} else if strings.Contains(resp.Status, "quantizing") {
|
||||
spinner.Stop()
|
||||
|
||||
|
||||
if quantizeSpin != nil {
|
||||
quantizeSpin.SetMessage(resp.Status)
|
||||
} else {
|
||||
quantizeSpin = progress.NewSpinner(resp.Status)
|
||||
p.Add("quantize", quantizeSpin)
|
||||
}
|
||||
}
|
||||
} else if status != resp.Status {
|
||||
spinner.Stop()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user