Skip to content

Commit

Permalink
do not delete model file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Orlov committed Aug 21, 2024
1 parent ca01e55 commit e6e8522
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ private void downloadModel(OllamaProperties props) throws Exception {
throw new Exception("Model not available after upload");
}

logger.info("Available, deleting file...");

new File(modelFile).delete();

logger.info("Model loaded.");
}

Expand Down

0 comments on commit e6e8522

Please sign in to comment.