Skip to content

Commit

Permalink
remove detail
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Sep 9, 2024
1 parent 19eada4 commit 4cf6a9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/ai/nets/samj/communication/model/SAM2Tiny.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ public class SAM2Tiny implements SAMModel {
+ "<strong>Paper:</strong> <a href=\"https://ai.meta.com/research/publications/sam-2-segment-anything-in-images-and-videos/\">SAM 2: Segment Anything in Images and Videos\n"
+ "Anything</a>";

private static final String CAUTION_STRING = "<br><p style=\"color: green;\">CAUTION: This model is computationally heavy. It is not recommended to use it on lower-end computers.</p>";


/**
Expand All @@ -93,7 +92,7 @@ public String getName() {
* {@inheritDoc}
*/
public String getDescription() {
return HTML_DESCRIPTION + (!this.installed ? SAMModel.HTML_NOT_INSTALLED : CAUTION_STRING);
return HTML_DESCRIPTION + (!this.installed ? SAMModel.HTML_NOT_INSTALLED : "");
}

@Override
Expand Down

0 comments on commit 4cf6a9c

Please sign in to comment.