This repository was archived by the owner on Nov 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +13
-10
lines changed
OnnxStack.StableDiffusion Expand file tree Collapse file tree 6 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 1616 </ItemGroup >
1717
1818 <ItemGroup >
19- <PackageReference Include =" OnnxStack.StableDiffusion" Version =" 0.14 .0" Condition =" '$(Configuration)' == 'Release' OR '$(Configuration)' == 'Release-Cuda' OR '$(Configuration)' == 'Release-TensorRT'" />
20- <PackageReference Include =" OnnxStack.ImageUpscaler" Version =" 0.14 .0" Condition =" '$(Configuration)' == 'Release' OR '$(Configuration)' == 'Release-Cuda' OR '$(Configuration)' == 'Release-TensorRT'" />
19+ <PackageReference Include =" OnnxStack.StableDiffusion" Version =" 0.15 .0" Condition =" '$(Configuration)' == 'Release' OR '$(Configuration)' == 'Release-Cuda' OR '$(Configuration)' == 'Release-TensorRT'" />
20+ <PackageReference Include =" OnnxStack.ImageUpscaler" Version =" 0.15 .0" Condition =" '$(Configuration)' == 'Release' OR '$(Configuration)' == 'Release-Cuda' OR '$(Configuration)' == 'Release-TensorRT'" />
2121 <ProjectReference Include =" ..\OnnxStack.StableDiffusion\OnnxStack.StableDiffusion.csproj" Condition =" '$(Configuration)' == 'Debug' OR '$(Configuration)' == 'Debug-Cuda' OR '$(Configuration)' == 'Debug-TensorRT'" />
2222 <ProjectReference Include =" ..\OnnxStack.ImageUpscaler\OnnxStack.ImageUpscaler.csproj" Condition =" '$(Configuration)' == 'Debug' OR '$(Configuration)' == 'Debug-Cuda' OR '$(Configuration)' == 'Debug-TensorRT'" />
2323 </ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <Version >0.14 .0</Version >
4+ <Version >0.15 .0</Version >
55 <TargetFramework >net7.0</TargetFramework >
66 <ImplicitUsings >disable</ImplicitUsings >
77 <Nullable >disable</Nullable >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <Version >0.14 .0</Version >
4+ <Version >0.15 .0</Version >
55 <TargetFramework >net7.0</TargetFramework >
66 <ImplicitUsings >disable</ImplicitUsings >
77 <Nullable >disable</Nullable >
3434 </ItemGroup >
3535
3636 <ItemGroup >
37- <PackageReference Include =" OnnxStack.Core" Version =" 0.14 .0" Condition =" '$(Configuration)' == 'Release' " />
37+ <PackageReference Include =" OnnxStack.Core" Version =" 0.15 .0" Condition =" '$(Configuration)' == 'Release' " />
3838 <ProjectReference Include =" ..\OnnxStack.Core\OnnxStack.Core.csproj" Condition =" '$(Configuration)' == 'Debug' " />
3939 </ItemGroup >
4040
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <Version >0.14 .0</Version >
4+ <Version >0.15 .0</Version >
55 <TargetFramework >net7.0</TargetFramework >
66 <ImplicitUsings >disable</ImplicitUsings >
77 <Nullable >disable</Nullable >
4444 </ItemGroup >
4545
4646 <ItemGroup >
47- <PackageReference Include =" OnnxStack.Core" Version =" 0.14 .0" Condition =" '$(Configuration)' == 'Release' " />
47+ <PackageReference Include =" OnnxStack.Core" Version =" 0.15 .0" Condition =" '$(Configuration)' == 'Release' " />
4848 <ProjectReference Include =" ..\OnnxStack.Core\OnnxStack.Core.csproj" Condition =" '$(Configuration)' == 'Debug' " />
4949 </ItemGroup >
5050
Original file line number Diff line number Diff line change 44using System . Collections . Generic ;
55using System . Collections . ObjectModel ;
66using System . Linq ;
7+ using System . Text . Json . Serialization ;
78
89namespace OnnxStack . UI . Models
910{
@@ -14,6 +15,8 @@ public class OnnxStackUIConfig : IConfigSection
1415 public int DefaultIntraOpNumThreads { get ; set ; }
1516 public ExecutionMode DefaultExecutionMode { get ; set ; }
1617 public ExecutionProvider DefaultExecutionProvider { get ; set ; }
18+
19+ [ JsonIgnore ]
1720 public ExecutionProvider SupportedExecutionProvider => GetSupportedExecutionProvider ( ) ;
1821 public ObservableCollection < UpscaleModelSetViewModel > UpscaleModelSets { get ; set ; } = new ObservableCollection < UpscaleModelSetViewModel > ( ) ;
1922 public ObservableCollection < StableDiffusionModelSetViewModel > StableDiffusionModelSets { get ; set ; } = new ObservableCollection < StableDiffusionModelSetViewModel > ( ) ;
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <Version >0.14 .0</Version >
4+ <Version >0.15 .0</Version >
55 <OutputType >WinExe</OutputType >
66 <TargetFramework >net7.0-windows</TargetFramework >
77 <Nullable >disable</Nullable >
5151 </ItemGroup >
5252
5353 <ItemGroup >
54- <PackageReference Include =" OnnxStack.StableDiffusion" Version =" 0.14 .0" Condition =" '$(Configuration)' == 'Release' OR '$(Configuration)' == 'Release-Cuda' OR '$(Configuration)' == 'Release-TensorRT'" />
55- <PackageReference Include =" OnnxStack.ImageUpscaler" Version =" 0.14 .0" Condition =" '$(Configuration)' == 'Release' OR '$(Configuration)' == 'Release-Cuda' OR '$(Configuration)' == 'Release-TensorRT'" />
54+ <PackageReference Include =" OnnxStack.StableDiffusion" Version =" 0.15 .0" Condition =" '$(Configuration)' == 'Release' OR '$(Configuration)' == 'Release-Cuda' OR '$(Configuration)' == 'Release-TensorRT'" />
55+ <PackageReference Include =" OnnxStack.ImageUpscaler" Version =" 0.15 .0" Condition =" '$(Configuration)' == 'Release' OR '$(Configuration)' == 'Release-Cuda' OR '$(Configuration)' == 'Release-TensorRT'" />
5656 <ProjectReference Include =" ..\OnnxStack.StableDiffusion\OnnxStack.StableDiffusion.csproj" Condition =" '$(Configuration)' == 'Debug' OR '$(Configuration)' == 'Debug-Cuda' OR '$(Configuration)' == 'Debug-TensorRT'" />
5757 <ProjectReference Include =" ..\OnnxStack.ImageUpscaler\OnnxStack.ImageUpscaler.csproj" Condition =" '$(Configuration)' == 'Debug' OR '$(Configuration)' == 'Debug-Cuda' OR '$(Configuration)' == 'Debug-TensorRT'" />
5858 </ItemGroup >
You can’t perform that action at this time.
0 commit comments