Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

remove repetitive logs

Abhinav19d0e8011705
diff --git a/src/services/clipService.ts b/src/services/clipService.ts
index df8d4d0721..631d596fcd 100644
--- a/src/services/clipService.ts
+++ b/src/services/clipService.ts
@@ -63,7 +63,6 @@ async function downloadModel(saveLocation: string) {
export async function getClipModelPath() {
const modelSavePath = getModelSavePath();
- log.info('clip model save path', modelSavePath);
if (!existsSync(modelSavePath)) {
await downloadModel(modelSavePath);
} else {
@@ -71,8 +70,6 @@ export async function getClipModelPath() {
if (localFileSize !== MODEL_SIZE_IN_BYTES) {
log.info('clip model size mismatch, downloading again');
await downloadModel(modelSavePath);
- } else {
- log.info('clip model already downloaded');
}
}
return modelSavePath;