add feedback for reading model metadata (#722)
This commit is contained in:
parent
38dc2f79bc
commit
d6786f2945
1 changed files with 1 additions and 0 deletions
|
@ -372,6 +372,7 @@ func CreateModel(ctx context.Context, workDir, name string, path string, fn func
|
||||||
}
|
}
|
||||||
|
|
||||||
if mf != nil {
|
if mf != nil {
|
||||||
|
fn(api.ProgressResponse{Status: "reading model metadata"})
|
||||||
sourceBlobPath, err := GetBlobsPath(mf.Config.Digest)
|
sourceBlobPath, err := GetBlobsPath(mf.Config.Digest)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Add table
Reference in a new issue