models: rm workDir from CreateModel

unused after removing EMBED
This commit is contained in:
Michael Yang
2023-10-18 15:55:50 -07:00
parent a7dad24d92
commit a19d47642e
2 changed files with 2 additions and 4 deletions

View File

@@ -252,7 +252,7 @@ func filenameWithPath(path, f string) (string, error) {
return f, nil
}
func CreateModel(ctx context.Context, workDir, name string, path string, fn func(resp api.ProgressResponse)) error {
func CreateModel(ctx context.Context, name string, path string, fn func(resp api.ProgressResponse)) error {
mp := ParseModelPath(name)
var manifest *ManifestV2