This repository was archived by the owner on Nov 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ namespace OnnxStack.UI.Views
2525 /// </summary>
2626 public partial class ImageInpaint : UserControl , INavigatable , INotifyPropertyChanged
2727 {
28- private readonly ILogger < TextToImageView > _logger ;
28+ private readonly ILogger < ImageInpaint > _logger ;
2929 private readonly IStableDiffusionService _stableDiffusionService ;
3030
3131 private bool _hasResult ;
@@ -52,7 +52,7 @@ public ImageInpaint()
5252 {
5353 if ( ! DesignerProperties . GetIsInDesignMode ( this ) )
5454 {
55- _logger = App . GetService < ILogger < TextToImageView > > ( ) ;
55+ _logger = App . GetService < ILogger < ImageInpaint > > ( ) ;
5656 _stableDiffusionService = App . GetService < IStableDiffusionService > ( ) ;
5757 }
5858
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ namespace OnnxStack.UI.Views
2626 /// </summary>
2727 public partial class ImageToImage : UserControl , INavigatable , INotifyPropertyChanged
2828 {
29- private readonly ILogger < TextToImageView > _logger ;
29+ private readonly ILogger < ImageToImage > _logger ;
3030 private readonly IStableDiffusionService _stableDiffusionService ;
3131
3232 private bool _hasResult ;
@@ -51,7 +51,7 @@ public ImageToImage()
5151 {
5252 if ( ! DesignerProperties . GetIsInDesignMode ( this ) )
5353 {
54- _logger = App . GetService < ILogger < TextToImageView > > ( ) ;
54+ _logger = App . GetService < ILogger < ImageToImage > > ( ) ;
5555 _stableDiffusionService = App . GetService < IStableDiffusionService > ( ) ;
5656 }
5757
You can’t perform that action at this time.
0 commit comments