Skip to content

Commit 3bb6a7b

Browse files
committed
up
1 parent fcca2be commit 3bb6a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/apple/coreml/runtime/delegate/ETCoreMLModelManager.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ - (nullable NSURL *)compiledModelURLWithIdentifier:(NSString *)identifier
431431
return nil;
432432
}
433433

434-
NSURL *dstURL = [self.assetManager.assetsDirectoryURL URLByAppendingPathComponent:[NSUUID UUID].UUIDString];
434+
NSURL *dstURL = [self.assetManager.trashDirectoryURL URLByAppendingPathComponent:[NSUUID UUID].UUIDString];
435435
NSURL *modelURL = ::write_model_files(dstURL, self.fileManager, identifier, modelAssetType.value(), inMemoryFS, error);
436436
switch (modelAssetType.value()) {
437437
case ModelAssetType::CompiledModel: {

0 commit comments

Comments
 (0)