File tree Expand file tree Collapse file tree 4 files changed +178
-113
lines changed
Expand file tree Collapse file tree 4 files changed +178
-113
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,19 @@ public AppModel()
2525 this . _outputCaptureElement = new CaptureElement ( ) ;
2626 }
2727
28+ public List < String > ModelFileNames
29+ {
30+ get
31+ {
32+ return new List < string >
33+ { "candy" ,
34+ "mosaic" ,
35+ "la_muse" ,
36+ "udnie"
37+ } ;
38+ }
39+ }
40+
2841 // Name of the style transfer model to apply to input media
2942 private string _modelSource ;
3043 public string ModelSource
@@ -81,10 +94,15 @@ public CaptureElement OutputCaptureElement
8194 {
8295 get
8396 {
84- if ( _outputCaptureElement == null ) _outputCaptureElement = new CaptureElement ( ) ;
97+ if ( _outputCaptureElement == null )
98+ _outputCaptureElement = new CaptureElement ( ) ;
8599 return _outputCaptureElement ;
86100 }
87- set { _outputCaptureElement = value ; OnPropertyChanged ( ) ; }
101+ set
102+ {
103+ _outputCaptureElement = value ;
104+ OnPropertyChanged ( ) ;
105+ }
88106 }
89107
90108 // MediaSource for the input media
You can’t perform that action at this time.
0 commit comments