File tree Expand file tree Collapse file tree 3 files changed +3
-13
lines changed
Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function on_style_selection_blur() {
6666}
6767
6868onUiLoaded ( async ( ) => {
69- let spans = document . querySelectorAll ( '.aspect_ratios span, .performance_selections span ' ) ;
69+ let spans = document . querySelectorAll ( '.aspect_ratios span' ) ;
7070
7171 spans . forEach ( function ( span ) {
7272 span . innerHTML = span . innerHTML . replace ( / & l t ; / g, '<' ) . replace ( / & g t ; / g, '>' ) ;
Original file line number Diff line number Diff line change @@ -187,12 +187,3 @@ def steps_uov(self) -> int | None:
187187
188188 def lora_filename (self ) -> str | None :
189189 return PerformanceLoRA [self .name ].value if self .name in PerformanceLoRA .__members__ else None
190-
191-
192- performance_selections = []
193-
194- for name , value in Performance .list ():
195- restricted_text = ''
196- if Performance .has_restricted_features (value ):
197- restricted_text = '*'
198- performance_selections .append ((f'{ value } <span style="color: grey;"> \U00002223 { Steps [name ].value } steps { restricted_text } </span>' , Performance [name ].value ))
Original file line number Diff line number Diff line change @@ -542,10 +542,9 @@ def trigger_metadata_preview(filepath):
542542 interactive = True )
543543
544544 performance_selection = gr .Radio (label = 'Performance' ,
545- info = '* = restricted feature set, intermediate results disabled' ,
546- choices = modules .flags .performance_selections ,
545+ choices = flags .Performance .values (),
547546 value = modules .config .default_performance ,
548- elem_classes = 'performance_selections' )
547+ elem_classes = [ 'performance_selection' ] )
549548
550549 with gr .Accordion (label = 'Aspect Ratios' , open = False , elem_id = 'aspect_ratios_accordion' ) as aspect_ratios_accordion :
551550 aspect_ratios_selection = gr .Radio (label = 'Aspect Ratios' , show_label = False ,
You can’t perform that action at this time.
0 commit comments