Skip to content

Commit 423baf9

Browse files
authored
Update ModelCard.axaml
Auto profiles
1 parent 6df8c56 commit 423baf9

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

StabilityMatrix.Avalonia/Controls/Inference/ModelCard.axaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,28 @@
6565
IsVisible="{Binding !IsStandaloneModelLoader}"
6666
ItemsSource="{Binding ClientManager.Models}"
6767
SelectedItem="{Binding SelectedModel}"
68-
Theme="{StaticResource BetterComboBoxHybridModelTheme}" />
68+
Theme="{StaticResource BetterComboBoxHybridModelTheme}"
69+
ToolTip.Tip="{Binding ModelPickerTooltip}" />
70+
71+
<TextBlock
72+
Grid.Row="0"
73+
Grid.Column="1"
74+
Margin="0,28,0,0"
75+
Foreground="#FFB000"
76+
FontSize="11"
77+
Text="⚠ Model not recommended for outpaint"
78+
IsHitTestVisible="False"
79+
IsVisible="{Binding ModelNotRecommendedForOutpaint}" />
80+
81+
<TextBlock
82+
Grid.Row="0"
83+
Grid.Column="1"
84+
Margin="0,42,0,0"
85+
Foreground="#6CC644"
86+
FontSize="11"
87+
Text="{Binding AutoSuggestedModelHint}"
88+
IsHitTestVisible="False"
89+
IsVisible="{Binding ShowModelSwitchHint}" />
6990

7091
<controls:BetterComboBox
7192
Grid.Row="0"

0 commit comments

Comments
 (0)