Skip to content

Commit

Permalink
Bumping version 1.7.4 in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrohanea committed Dec 27, 2024
1 parent a3ec2f8 commit 7b61402
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pack-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: |
$xml = [Xml] (Get-Content .\Whisper.net\Whisper.net.csproj)
$versionObject = $xml.Project.PropertyGroup.Version
$version = "$versionObject".Trim()
$version = "$versionObject".Split('-')[0].Trim()
$previewSuffix = if ('${{ inputs.IsPreview }}' -eq 'true') { '-${{ inputs.PreviewSuffix }}' } else { '' }
$previewVersion = "$version$previewSuffix"
Import-Module ./windows-scripts.ps1
Expand Down
2 changes: 1 addition & 1 deletion Whisper.net/Whisper.net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>13</LangVersion>
<Version>1.7.4</Version>
<Version>1.7.5-preview1</Version>
<Authors>Sandro Hanea</Authors>
<Description>Cross-platform dotnet bindings for Whisper.</Description>
<PackageProjectUrl>https://github.com/sandrohanea/whisper.net</PackageProjectUrl>
Expand Down
4 changes: 2 additions & 2 deletions examples/BlazorApp/BlazorApp.Client/BlazorApp.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.3" />
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions examples/ContinuousRecognition/ContinuousRecognition.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Whisper.net.Runtime" Version="1.7.3" />
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/CoreML/CoreML.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime.CoreML" Version="1.7.3" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
<PackageReference Include="Whisper.net.Runtime.CoreML" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/Diarization/Diarization.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions examples/MultiRuntime/MultiRuntime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Whisper.net.Runtime.Cuda" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.3" />
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime.Cuda" Version="1.7.4" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/NAudioMp3/NAudioMp3.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<ItemGroup>
<PackageReference Include="NAudio" Version="2.2.1" />
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/NAudioResampleWav/NAudioResampleWav.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<ItemGroup>
<PackageReference Include="NAudio" Version="2.2.1" />
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/NvidiaCuda/NvidiaCuda.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime.Cuda" Version="1.7.3" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
<PackageReference Include="Whisper.net.Runtime.Cuda" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/OpenVinoExample/OpenVinoExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Whisper.net.Runtime.OpenVino" Version="1.7.3" />
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime.OpenVino" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/ParallelExecution/ParallelExecution.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Whisper.net.Runtime" Version="1.7.3" />
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/Simple/Simple.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Whisper.net.Runtime" Version="1.7.3" />
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/SimpleSync/SimpleSync.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions examples/Vulkan/Vulkan.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Whisper.net.Runtime.Vulkan" Version="1.7.3" />
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime.Vulkan" Version="1.7.4" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To install Whisper.net with all the available runtimes, run the following comman
Or add a package reference in your `.csproj` file:

```
<PackageReference Include="Whisper.net.AllRuntimes" Version="1.7.3" />
<PackageReference Include="Whisper.net.AllRuntimes" Version="1.7.4" />
```

`Whisper.net` is the main package that contains the core functionality but does not include any runtimes. `Whisper.net.AllRuntimes` includes all available runtimes for Whisper.net.
Expand All @@ -31,10 +31,10 @@ Or add a package reference in your `.csproj` file:
To install a specific runtime, you can install them individually and combine them as needed. For example, to install the CPU runtime, add the following package references:

```
<PackageReference Include="Whisper.net" Version="1.7.3" />
<PackageReference Include="Whisper.net" Version="1.7.4" />
```
```
<PackageReference Include="Whisper.net.Runtime" Version="1.7.3" />
<PackageReference Include="Whisper.net.Runtime" Version="1.7.4" />
```

## GPT for Whisper
Expand Down

0 comments on commit 7b61402

Please sign in to comment.