Browse Source

Remove unused comment

pull/495/head
Ionite 9 months ago
parent
commit
cb00e6a4c4
No known key found for this signature in database
  1. 23
      StabilityMatrix.Core/Models/Database/LocalModelFile.cs

23
StabilityMatrix.Core/Models/Database/LocalModelFile.cs

@ -111,29 +111,6 @@ public record LocalModelFile
: Path.Combine(rootModelDirectory, PreviewImageRelativePath);
}
/*protected bool Equals(LocalModelFile other)
{
return RelativePath == other.RelativePath;
}
/// <inheritdoc />
public override bool Equals(object? obj)
{
if (ReferenceEquals(null, obj))
return false;
if (ReferenceEquals(this, obj))
return true;
if (obj.GetType() != this.GetType())
return false;
return Equals((LocalModelFile)obj);
}
/// <inheritdoc />
public override int GetHashCode()
{
return RelativePath.GetHashCode();
}*/
public static readonly HashSet<string> SupportedCheckpointExtensions =
[
".safetensors",

Loading…
Cancel
Save