Skip to content

Commit

Permalink
Fixtures and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
asiryan committed Oct 18, 2023
1 parent 4276369 commit c8aac20
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions netstandard/NsfwONNX.Gpu/NsfwONNX.Gpu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<LangVersion>8.0</LangVersion>
<AssemblyName>NsfwONNX.Gpu</AssemblyName>
<LangVersion>8.0</LangVersion>
<Version>1.0.1.1</Version>
<FileVersion>1.0.1.1</FileVersion>
<Version>1.0.1.2</Version>
<FileVersion>1.0.1.2</FileVersion>
<Authors>Valery Asiryan</Authors>
<Company>Valery Asiryan</Company>
<Description>Not Suitable for Work (NSFW) recognition library based on deep neural networks and ONNX runtime. Gpu implementation.</Description>
<Copyright>Valery Asiryan, © 2023</Copyright>
<RepositoryType>Open-source</RepositoryType>
<PackageId>NsfwONNX.Gpu</PackageId>
<Product>NsfwONNX.Gpu</Product>
<AssemblyVersion>1.0.1.1</AssemblyVersion>
<AssemblyVersion>1.0.1.2</AssemblyVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageTags>nsfw detection recognition classification detection onnx neural-networks</PackageTags>
<RepositoryUrl>https://github.com/FaceONNX/NsfwONNX</RepositoryUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public OpenNsfwClassifier(SessionOptions options)
/// <summary>
/// Returns the classifier labels.
/// </summary>
public static string[] Labels = new string[] { "Safe", "Nsfw" };
public static readonly string[] Labels = new string[] { "Safe", "Nsfw" };

#endregion

Expand Down
6 changes: 3 additions & 3 deletions netstandard/NsfwONNX/NsfwONNX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<LangVersion>8.0</LangVersion>
<AssemblyName>NsfwONNX</AssemblyName>
<LangVersion>8.0</LangVersion>
<Version>1.0.1.1</Version>
<FileVersion>1.0.1.1</FileVersion>
<Version>1.0.1.2</Version>
<FileVersion>1.0.1.2</FileVersion>
<Authors>Valery Asiryan</Authors>
<Company>Valery Asiryan</Company>
<Description>Not Suitable for Work (NSFW) recognition library based on deep neural networks and ONNX runtime.</Description>
<Copyright>Valery Asiryan, © 2023</Copyright>
<RepositoryType>Open-source</RepositoryType>
<PackageId>NsfwONNX</PackageId>
<Product>NsfwONNX</Product>
<AssemblyVersion>1.0.1.1</AssemblyVersion>
<AssemblyVersion>1.0.1.2</AssemblyVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageTags>nsfw detection recognition classification detection onnx neural-networks</PackageTags>
<RepositoryUrl>https://github.com/FaceONNX/NsfwONNX</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion netstandard/NsfwONNX/nsfw/classes/OpenNsfwClassifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public OpenNsfwClassifier(SessionOptions options)
/// <summary>
/// Returns the classifier labels.
/// </summary>
public static string[] Labels = new string[] { "Safe", "Nsfw" };
public static readonly string[] Labels = new string[] { "Safe", "Nsfw" };

#endregion

Expand Down

0 comments on commit c8aac20

Please sign in to comment.