Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ public SoundMatchRes match(User user, MultipartFile file) {
SoundMatchRow row = customSoundRepository
.findTopMatchByUserIdWithSimilarity(user.getUserId(), literal);

log.info("커스텀 소리 유사도: {}", row.getSimilarity());
if (row == null) {
log.info("커스텀 소리 매칭 결과 없음");
} else {
log.info("커스텀 소리 유사도: {}", row.getSimilarity());
}

//1. 커스텀 유사도
if (row != null && row.getSimilarity() >= 0.997) {
Expand Down