mirror of
https://github.com/ollama/ollama.git
synced 2026-04-18 09:54:18 +02:00
lint
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user