This commit is contained in:
Josh Yan 2024-08-28 10:23:41 -07:00
parent cc17b02b23
commit 4da5d5beaa

View File

@ -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()