From f2997610d6e90bb6a11206f480fbb87ad6ee5875 Mon Sep 17 00:00:00 2001 From: JT Date: Thu, 18 Jan 2024 21:37:03 -0800 Subject: [PATCH] Added Config mode for Fooocus shared models & updated nuget packages --- Avalonia.Gif/Avalonia.Gif.csproj | 4 +- CHANGELOG.md | 6 + ...tabilityMatrix.Avalonia.Diagnostics.csproj | 12 +- .../Controls/Inference/ControlNetCard.axaml | 2 +- .../Controls/Inference/SelectImageCard.axaml | 2 +- .../Inference/StackEditableCard.axaml | 2 +- .../Controls/Inference/StackExpander.axaml | 6 +- .../Controls/Inference/UpscalerCard.axaml | 2 +- .../Controls/StarsRating.axaml | 4 +- .../Controls/StarsRating.axaml.cs | 15 +- .../Languages/Resources.Designer.cs | 1947 ++++++++++++----- .../Languages/Resources.fr-FR.resx | 186 +- .../Languages/Resources.resx | 3 + .../StabilityMatrix.Avalonia.csproj | 36 +- .../ControlThemes/BetterComboBoxStyles.axaml | 2 +- .../HyperlinkIconButtonStyles.axaml | 2 +- .../Styles/FAComboBoxStyles.axaml | 2 +- .../ViewModels/CheckpointBrowserViewModel.cs | 2 +- .../ViewModels/CheckpointsPageViewModel.cs | 2 +- .../ViewModels/ExtensionViewModel.cs | 2 +- .../ViewModels/InferenceViewModel.cs | 2 +- .../ViewModels/LaunchPageViewModel.cs | 35 +- .../ViewModels/NewCheckpointsPageViewModel.cs | 2 +- .../ViewModels/NewPackageManagerViewModel.cs | 2 +- .../ViewModels/OutputsPageViewModel.cs | 2 +- .../PackageExtensionBrowserViewModel.cs | 5 + .../PackageInstallDetailViewModel.cs | 2 +- .../ViewModels/PackageManagerViewModel.cs | 2 +- .../Progress/ProgressManagerViewModel.cs | 11 +- .../Settings/AccountSettingsViewModel.cs | 22 +- .../Settings/InferenceSettingsViewModel.cs | 20 +- .../Settings/MainSettingsViewModel.cs | 2 +- .../Settings/UpdateSettingsViewModel.cs | 13 +- .../ViewModels/SettingsViewModel.cs | 5 +- .../Views/Dialogs/PythonPackagesDialog.axaml | 2 +- .../Dialogs/SelectModelVersionDialog.axaml | 2 +- .../Views/Dialogs/UpdateDialog.axaml | 2 +- .../Views/InferencePage.axaml | 2 +- .../Views/MainWindow.axaml | 2 +- .../Views/OutputsPage.axaml | 2 +- .../PackageExtensionBrowserView.axaml | 7 +- .../Views/Settings/AccountSettingsPage.axaml | 2 +- .../Settings/InferenceSettingsPage.axaml | 2 +- .../Views/Settings/MainSettingsPage.axaml | 2 +- .../Views/Settings/UpdateSettingsPage.axaml | 2 +- StabilityMatrix.Core/Models/FooocusConfig.cs | 99 + .../Models/Packages/A3WebUI.cs | 32 +- .../Models/Packages/ComfyUI.cs | 32 +- .../Models/Packages/Fooocus.cs | 120 +- .../StabilityMatrix.Core.csproj | 32 +- .../StabilityMatrix.Tests.csproj | 6 +- StabilityMatrix.UITests/MainWindowTests.cs | 1 - .../ModelBrowser/CivitAiBrowserTests.cs | 13 +- .../StabilityMatrix.UITests.csproj | 8 +- 54 files changed, 1982 insertions(+), 752 deletions(-) create mode 100644 StabilityMatrix.Core/Models/FooocusConfig.cs diff --git a/Avalonia.Gif/Avalonia.Gif.csproj b/Avalonia.Gif/Avalonia.Gif.csproj index 1d2f4488..858b974e 100644 --- a/Avalonia.Gif/Avalonia.Gif.csproj +++ b/Avalonia.Gif/Avalonia.Gif.csproj @@ -10,8 +10,8 @@ true - - + + diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d2273dc..2e53d909 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2.0.0.html). ## v2.8.0-pre.3 +### Added +- Added "Config" Shared Model Folder option for Fooocus +### Changed +- (Internal) Updated to Avalonia 11.0.7 +- Updated French translation (thanks Greg!) ### Fixed - Webp static images can now be shown alongside existing webp animation support - Fixed image gallery arrow key navigation requiring clicking before responding +- Fixed crash when loading extensions list with no internet connection ## v2.8.0-pre.2 ### Added diff --git a/StabilityMatrix.Avalonia.Diagnostics/StabilityMatrix.Avalonia.Diagnostics.csproj b/StabilityMatrix.Avalonia.Diagnostics/StabilityMatrix.Avalonia.Diagnostics.csproj index 84e8c3f9..e635ad2f 100644 --- a/StabilityMatrix.Avalonia.Diagnostics/StabilityMatrix.Avalonia.Diagnostics.csproj +++ b/StabilityMatrix.Avalonia.Diagnostics/StabilityMatrix.Avalonia.Diagnostics.csproj @@ -19,13 +19,13 @@ - - + + - - - - + + + + diff --git a/StabilityMatrix.Avalonia/Controls/Inference/ControlNetCard.axaml b/StabilityMatrix.Avalonia/Controls/Inference/ControlNetCard.axaml index 29ccfdd8..b43ea05b 100644 --- a/StabilityMatrix.Avalonia/Controls/Inference/ControlNetCard.axaml +++ b/StabilityMatrix.Avalonia/Controls/Inference/ControlNetCard.axaml @@ -2,7 +2,7 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:StabilityMatrix.Avalonia.Controls" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" xmlns:input="clr-namespace:FluentAvalonia.UI.Input;assembly=FluentAvalonia" xmlns:lang="clr-namespace:StabilityMatrix.Avalonia.Languages" xmlns:mocks="clr-namespace:StabilityMatrix.Avalonia.DesignData" diff --git a/StabilityMatrix.Avalonia/Controls/Inference/SelectImageCard.axaml b/StabilityMatrix.Avalonia/Controls/Inference/SelectImageCard.axaml index 6b480ab8..f3e3b5f8 100644 --- a/StabilityMatrix.Avalonia/Controls/Inference/SelectImageCard.axaml +++ b/StabilityMatrix.Avalonia/Controls/Inference/SelectImageCard.axaml @@ -3,7 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:StabilityMatrix.Avalonia.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" xmlns:lang="clr-namespace:StabilityMatrix.Avalonia.Languages" xmlns:mocks="using:StabilityMatrix.Avalonia.DesignData" xmlns:ui="using:FluentAvalonia.UI.Controls" diff --git a/StabilityMatrix.Avalonia/Controls/Inference/StackEditableCard.axaml b/StabilityMatrix.Avalonia/Controls/Inference/StackEditableCard.axaml index 95f96b76..e931a603 100644 --- a/StabilityMatrix.Avalonia/Controls/Inference/StackEditableCard.axaml +++ b/StabilityMatrix.Avalonia/Controls/Inference/StackEditableCard.axaml @@ -4,7 +4,7 @@ xmlns:local="clr-namespace:StabilityMatrix.Avalonia" xmlns:mocks="clr-namespace:StabilityMatrix.Avalonia.DesignData" xmlns:vmInference="clr-namespace:StabilityMatrix.Avalonia.ViewModels.Inference" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia" xmlns:modules="clr-namespace:StabilityMatrix.Avalonia.ViewModels.Inference.Modules" xmlns:sg="clr-namespace:SpacedGridControl.Avalonia;assembly=SpacedGridControl.Avalonia" diff --git a/StabilityMatrix.Avalonia/Controls/Inference/StackExpander.axaml b/StabilityMatrix.Avalonia/Controls/Inference/StackExpander.axaml index 19af6987..66eda5f0 100644 --- a/StabilityMatrix.Avalonia/Controls/Inference/StackExpander.axaml +++ b/StabilityMatrix.Avalonia/Controls/Inference/StackExpander.axaml @@ -2,11 +2,11 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:StabilityMatrix.Avalonia.Controls" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" xmlns:local="clr-namespace:StabilityMatrix.Avalonia" xmlns:mocks="clr-namespace:StabilityMatrix.Avalonia.DesignData" xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia" xmlns:vmInference="clr-namespace:StabilityMatrix.Avalonia.ViewModels.Inference" + xmlns:fluent="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" x:DataType="vmInference:StackExpanderViewModel"> @@ -66,7 +66,7 @@ Classes="transparent-full" Command="{Binding SettingsCommand}" IsVisible="{Binding IsSettingsEnabled}"> - + diff --git a/StabilityMatrix.Avalonia/Controls/Inference/UpscalerCard.axaml b/StabilityMatrix.Avalonia/Controls/Inference/UpscalerCard.axaml index c239f9e8..a71c8cdc 100644 --- a/StabilityMatrix.Avalonia/Controls/Inference/UpscalerCard.axaml +++ b/StabilityMatrix.Avalonia/Controls/Inference/UpscalerCard.axaml @@ -8,7 +8,7 @@ xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia" xmlns:vmInference="using:StabilityMatrix.Avalonia.ViewModels.Inference" xmlns:input="clr-namespace:FluentAvalonia.UI.Input;assembly=FluentAvalonia" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" x:DataType="vmInference:UpscalerCardViewModel"> diff --git a/StabilityMatrix.Avalonia/Controls/StarsRating.axaml b/StabilityMatrix.Avalonia/Controls/StarsRating.axaml index c6e7f3e1..5f156f84 100644 --- a/StabilityMatrix.Avalonia/Controls/StarsRating.axaml +++ b/StabilityMatrix.Avalonia/Controls/StarsRating.axaml @@ -1,8 +1,6 @@  + xmlns:controls="using:StabilityMatrix.Avalonia.Controls"> diff --git a/StabilityMatrix.Avalonia/Controls/StarsRating.axaml.cs b/StabilityMatrix.Avalonia/Controls/StarsRating.axaml.cs index 2c91651e..af905ecf 100644 --- a/StabilityMatrix.Avalonia/Controls/StarsRating.axaml.cs +++ b/StabilityMatrix.Avalonia/Controls/StarsRating.axaml.cs @@ -3,17 +3,12 @@ using System.Collections.Generic; using System.Linq; using Avalonia; using Avalonia.Controls; -using Avalonia.Controls.Documents; using Avalonia.Controls.Primitives; -using Avalonia.Data; using Avalonia.Layout; -using Avalonia.Markup.Xaml.MarkupExtensions; using Avalonia.Media; using Avalonia.VisualTree; +using FluentIcons.Avalonia.Fluent; using FluentIcons.Common; -using FluentIcons.FluentAvalonia; -using SpacedGridControl.Avalonia; -using StabilityMatrix.Avalonia.Styles; namespace StabilityMatrix.Avalonia.Controls; @@ -36,10 +31,10 @@ public class StarsRating : TemplatedControl set => SetValue(IsEditableProperty, value); } - public static readonly StyledProperty MaximumProperty = AvaloniaProperty.Register< - StarsRating, - int - >(nameof(Maximum), 5); + public static readonly StyledProperty MaximumProperty = AvaloniaProperty.Register( + nameof(Maximum), + 5 + ); public int Maximum { diff --git a/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs b/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs index 9f242198..48cea020 100644 --- a/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs +++ b/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs @@ -11,32 +11,46 @@ namespace StabilityMatrix.Avalonia.Languages { using System; - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] public class Resources { - private static System.Resources.ResourceManager resourceMan; + private static global::System.Resources.ResourceManager resourceMan; - private static System.Globalization.CultureInfo resourceCulture; + private static global::System.Globalization.CultureInfo resourceCulture; - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Resources.ResourceManager ResourceManager { + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { get { - if (object.Equals(null, resourceMan)) { - System.Resources.ResourceManager temp = new System.Resources.ResourceManager("StabilityMatrix.Avalonia.Languages.Resources", typeof(Resources).Assembly); + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StabilityMatrix.Avalonia.Languages.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Globalization.CultureInfo Culture { + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } @@ -45,1635 +59,2460 @@ namespace StabilityMatrix.Avalonia.Languages { } } - public static string Action_Launch { + /// + /// Looks up a localized string similar to Add for All Users. + /// + public static string Action_AddForAllUsers { get { - return ResourceManager.GetString("Action_Launch", resourceCulture); + return ResourceManager.GetString("Action_AddForAllUsers", resourceCulture); } } - public static string Action_Quit { + /// + /// Looks up a localized string similar to Add for Current User. + /// + public static string Action_AddForCurrentUser { get { - return ResourceManager.GetString("Action_Quit", resourceCulture); + return ResourceManager.GetString("Action_AddForCurrentUser", resourceCulture); } } - public static string Action_Save { + /// + /// Looks up a localized string similar to Add Package. + /// + public static string Action_AddPackage { get { - return ResourceManager.GetString("Action_Save", resourceCulture); + return ResourceManager.GetString("Action_AddPackage", resourceCulture); } } + /// + /// Looks up a localized string similar to Cancel. + /// public static string Action_Cancel { get { return ResourceManager.GetString("Action_Cancel", resourceCulture); } } - public static string Label_Language { + /// + /// Looks up a localized string similar to Check for Updates. + /// + public static string Action_CheckForUpdates { get { - return ResourceManager.GetString("Label_Language", resourceCulture); + return ResourceManager.GetString("Action_CheckForUpdates", resourceCulture); } } - public static string Text_RelaunchRequiredToApplyLanguage { + /// + /// Looks up a localized string similar to Check Version. + /// + public static string Action_CheckVersion { get { - return ResourceManager.GetString("Text_RelaunchRequiredToApplyLanguage", resourceCulture); + return ResourceManager.GetString("Action_CheckVersion", resourceCulture); } } - public static string Action_Relaunch { + /// + /// Looks up a localized string similar to Clear Selection. + /// + public static string Action_ClearSelection { get { - return ResourceManager.GetString("Action_Relaunch", resourceCulture); + return ResourceManager.GetString("Action_ClearSelection", resourceCulture); } } - public static string Action_RelaunchLater { + /// + /// Looks up a localized string similar to Close. + /// + public static string Action_Close { get { - return ResourceManager.GetString("Action_RelaunchLater", resourceCulture); + return ResourceManager.GetString("Action_Close", resourceCulture); } } - public static string Label_RelaunchRequired { + /// + /// Looks up a localized string similar to Connect. + /// + public static string Action_Connect { get { - return ResourceManager.GetString("Label_RelaunchRequired", resourceCulture); + return ResourceManager.GetString("Action_Connect", resourceCulture); } } - public static string Label_UnknownPackage { + /// + /// Looks up a localized string similar to Consolidate. + /// + public static string Action_Consolidate { get { - return ResourceManager.GetString("Label_UnknownPackage", resourceCulture); + return ResourceManager.GetString("Action_Consolidate", resourceCulture); } } - public static string Action_Import { + /// + /// Looks up a localized string similar to Continue. + /// + public static string Action_Continue { get { - return ResourceManager.GetString("Action_Import", resourceCulture); + return ResourceManager.GetString("Action_Continue", resourceCulture); } } - public static string Label_PackageType { + /// + /// Looks up a localized string similar to Copy. + /// + public static string Action_Copy { get { - return ResourceManager.GetString("Label_PackageType", resourceCulture); + return ResourceManager.GetString("Action_Copy", resourceCulture); } } - public static string Label_Version { + /// + /// Looks up a localized string similar to Copy Trigger Words. + /// + public static string Action_CopyTriggerWords { get { - return ResourceManager.GetString("Label_Version", resourceCulture); + return ResourceManager.GetString("Action_CopyTriggerWords", resourceCulture); } } - public static string Label_VersionType { + /// + /// Looks up a localized string similar to Delete. + /// + public static string Action_Delete { get { - return ResourceManager.GetString("Label_VersionType", resourceCulture); + return ResourceManager.GetString("Action_Delete", resourceCulture); } } - public static string Label_Releases { + /// + /// Looks up a localized string similar to Disconnect. + /// + public static string Action_Disconnect { get { - return ResourceManager.GetString("Label_Releases", resourceCulture); + return ResourceManager.GetString("Action_Disconnect", resourceCulture); } } - public static string Label_Branches { + /// + /// Looks up a localized string similar to Downgrade. + /// + public static string Action_Downgrade { get { - return ResourceManager.GetString("Label_Branches", resourceCulture); + return ResourceManager.GetString("Action_Downgrade", resourceCulture); } } - public static string Label_DragAndDropCheckpointsHereToImport { + /// + /// Looks up a localized string similar to Edit. + /// + public static string Action_Edit { get { - return ResourceManager.GetString("Label_DragAndDropCheckpointsHereToImport", resourceCulture); + return ResourceManager.GetString("Action_Edit", resourceCulture); } } - public static string Label_Emphasis { + /// + /// Looks up a localized string similar to Exit Application. + /// + public static string Action_ExitApplication { get { - return ResourceManager.GetString("Label_Emphasis", resourceCulture); + return ResourceManager.GetString("Action_ExitApplication", resourceCulture); } } - public static string Label_Deemphasis { + /// + /// Looks up a localized string similar to Import. + /// + public static string Action_Import { get { - return ResourceManager.GetString("Label_Deemphasis", resourceCulture); + return ResourceManager.GetString("Action_Import", resourceCulture); } } - public static string Label_EmbeddingsOrTextualInversion { + /// + /// Looks up a localized string similar to Install. + /// + public static string Action_Install { get { - return ResourceManager.GetString("Label_EmbeddingsOrTextualInversion", resourceCulture); + return ResourceManager.GetString("Action_Install", resourceCulture); } } - public static string Label_NetworksLoraOrLycoris { + /// + /// Looks up a localized string similar to Install Now. + /// + public static string Action_InstallNow { get { - return ResourceManager.GetString("Label_NetworksLoraOrLycoris", resourceCulture); + return ResourceManager.GetString("Action_InstallNow", resourceCulture); } } - public static string Label_Comments { + /// + /// Looks up a localized string similar to Launch. + /// + public static string Action_Launch { get { - return ResourceManager.GetString("Label_Comments", resourceCulture); + return ResourceManager.GetString("Action_Launch", resourceCulture); } } - public static string Label_ShowPixelGridAtHighZoomLevels { + /// + /// Looks up a localized string similar to Login. + /// + public static string Action_Login { get { - return ResourceManager.GetString("Label_ShowPixelGridAtHighZoomLevels", resourceCulture); + return ResourceManager.GetString("Action_Login", resourceCulture); } } - public static string Label_Steps { + /// + /// Looks up a localized string similar to New. + /// + public static string Action_New { get { - return ResourceManager.GetString("Label_Steps", resourceCulture); + return ResourceManager.GetString("Action_New", resourceCulture); } } - public static string Label_StepsBase { + /// + /// Looks up a localized string similar to OK. + /// + public static string Action_OK { get { - return ResourceManager.GetString("Label_StepsBase", resourceCulture); + return ResourceManager.GetString("Action_OK", resourceCulture); } } - public static string Label_StepsRefiner { + /// + /// Looks up a localized string similar to Open on GitHub. + /// + public static string Action_OpenGithub { get { - return ResourceManager.GetString("Label_StepsRefiner", resourceCulture); + return ResourceManager.GetString("Action_OpenGithub", resourceCulture); } } - public static string Label_CFGScale { + /// + /// Looks up a localized string similar to Open in Browser. + /// + public static string Action_OpenInBrowser { get { - return ResourceManager.GetString("Label_CFGScale", resourceCulture); + return ResourceManager.GetString("Action_OpenInBrowser", resourceCulture); } } - public static string Label_DenoisingStrength { + /// + /// Looks up a localized string similar to Open in Explorer. + /// + public static string Action_OpenInExplorer { get { - return ResourceManager.GetString("Label_DenoisingStrength", resourceCulture); + return ResourceManager.GetString("Action_OpenInExplorer", resourceCulture); } } - public static string Label_Width { + /// + /// Looks up a localized string similar to Open in Finder. + /// + public static string Action_OpenInFinder { get { - return ResourceManager.GetString("Label_Width", resourceCulture); + return ResourceManager.GetString("Action_OpenInFinder", resourceCulture); } } - public static string Label_Height { + /// + /// Looks up a localized string similar to Open in Image Viewer. + /// + public static string Action_OpenInViewer { get { - return ResourceManager.GetString("Label_Height", resourceCulture); + return ResourceManager.GetString("Action_OpenInViewer", resourceCulture); } } - public static string Label_Refiner { + /// + /// Looks up a localized string similar to Open on CivitAI. + /// + public static string Action_OpenOnCivitAi { get { - return ResourceManager.GetString("Label_Refiner", resourceCulture); + return ResourceManager.GetString("Action_OpenOnCivitAi", resourceCulture); } } - public static string Label_VAE { + /// + /// Looks up a localized string similar to Open on Hugging Face. + /// + public static string Action_OpenOnHuggingFace { get { - return ResourceManager.GetString("Label_VAE", resourceCulture); + return ResourceManager.GetString("Action_OpenOnHuggingFace", resourceCulture); } } - public static string Label_Model { + /// + /// Looks up a localized string similar to Open Project.... + /// + public static string Action_OpenProjectEllipsis { get { - return ResourceManager.GetString("Label_Model", resourceCulture); + return ResourceManager.GetString("Action_OpenProjectEllipsis", resourceCulture); } } - public static string Action_Connect { + /// + /// Looks up a localized string similar to Open Web UI. + /// + public static string Action_OpenWebUI { get { - return ResourceManager.GetString("Action_Connect", resourceCulture); + return ResourceManager.GetString("Action_OpenWebUI", resourceCulture); } } - public static string Label_ConnectingEllipsis { + /// + /// Looks up a localized string similar to Quit. + /// + public static string Action_Quit { get { - return ResourceManager.GetString("Label_ConnectingEllipsis", resourceCulture); + return ResourceManager.GetString("Action_Quit", resourceCulture); } } - public static string Action_Close { + /// + /// Looks up a localized string similar to Refresh. + /// + public static string Action_Refresh { get { - return ResourceManager.GetString("Action_Close", resourceCulture); + return ResourceManager.GetString("Action_Refresh", resourceCulture); } } - public static string Label_WaitingToConnectEllipsis { + /// + /// Looks up a localized string similar to Relaunch. + /// + public static string Action_Relaunch { get { - return ResourceManager.GetString("Label_WaitingToConnectEllipsis", resourceCulture); + return ResourceManager.GetString("Action_Relaunch", resourceCulture); } } - public static string Label_UpdateAvailable { + /// + /// Looks up a localized string similar to Relaunch Later. + /// + public static string Action_RelaunchLater { get { - return ResourceManager.GetString("Label_UpdateAvailable", resourceCulture); + return ResourceManager.GetString("Action_RelaunchLater", resourceCulture); } } - public static string Label_BecomeAPatron { + /// + /// Looks up a localized string similar to Remind Me Later. + /// + public static string Action_RemindMeLater { get { - return ResourceManager.GetString("Label_BecomeAPatron", resourceCulture); + return ResourceManager.GetString("Action_RemindMeLater", resourceCulture); } } - public static string Label_JoinDiscord { + /// + /// Looks up a localized string similar to Remove. + /// + public static string Action_Remove { get { - return ResourceManager.GetString("Label_JoinDiscord", resourceCulture); + return ResourceManager.GetString("Action_Remove", resourceCulture); } } - public static string Label_Downloads { + /// + /// Looks up a localized string similar to Rename. + /// + public static string Action_Rename { get { - return ResourceManager.GetString("Label_Downloads", resourceCulture); + return ResourceManager.GetString("Action_Rename", resourceCulture); } } - public static string Action_Install { + /// + /// Looks up a localized string similar to Replace Contents. + /// + public static string Action_ReplaceContents { get { - return ResourceManager.GetString("Action_Install", resourceCulture); + return ResourceManager.GetString("Action_ReplaceContents", resourceCulture); } } - public static string Label_SkipSetup { + /// + /// Looks up a localized string similar to Restart. + /// + public static string Action_Restart { get { - return ResourceManager.GetString("Label_SkipSetup", resourceCulture); + return ResourceManager.GetString("Action_Restart", resourceCulture); } } - public static string Label_UnexpectedErrorOccurred { + /// + /// Looks up a localized string similar to Restore Default Layout. + /// + public static string Action_RestoreDefaultLayout { get { - return ResourceManager.GetString("Label_UnexpectedErrorOccurred", resourceCulture); + return ResourceManager.GetString("Action_RestoreDefaultLayout", resourceCulture); } } - public static string Action_ExitApplication { + /// + /// Looks up a localized string similar to Retry. + /// + public static string Action_Retry { get { - return ResourceManager.GetString("Action_ExitApplication", resourceCulture); + return ResourceManager.GetString("Action_Retry", resourceCulture); } } - public static string Label_DisplayName { + /// + /// Looks up a localized string similar to Save. + /// + public static string Action_Save { get { - return ResourceManager.GetString("Label_DisplayName", resourceCulture); + return ResourceManager.GetString("Action_Save", resourceCulture); } } - public static string Label_InstallationWithThisNameExists { + /// + /// Looks up a localized string similar to Save As.... + /// + public static string Action_SaveAsEllipsis { get { - return ResourceManager.GetString("Label_InstallationWithThisNameExists", resourceCulture); + return ResourceManager.GetString("Action_SaveAsEllipsis", resourceCulture); } } - public static string Label_PleaseChooseDifferentName { + /// + /// Looks up a localized string similar to Search. + /// + public static string Action_Search { get { - return ResourceManager.GetString("Label_PleaseChooseDifferentName", resourceCulture); + return ResourceManager.GetString("Action_Search", resourceCulture); } } - public static string Label_AdvancedOptions { + /// + /// Looks up a localized string similar to Select All. + /// + public static string Action_SelectAll { get { - return ResourceManager.GetString("Label_AdvancedOptions", resourceCulture); + return ResourceManager.GetString("Action_SelectAll", resourceCulture); } } - public static string Label_Commit { + /// + /// Looks up a localized string similar to Select Directory. + /// + public static string Action_SelectDirectory { get { - return ResourceManager.GetString("Label_Commit", resourceCulture); + return ResourceManager.GetString("Action_SelectDirectory", resourceCulture); } } - public static string Label_SharedModelFolderStrategy { + /// + /// Looks up a localized string similar to Select File. + /// + public static string Action_SelectFile { get { - return ResourceManager.GetString("Label_SharedModelFolderStrategy", resourceCulture); + return ResourceManager.GetString("Action_SelectFile", resourceCulture); } } - public static string Label_PyTorchVersion { + /// + /// Looks up a localized string similar to Send. + /// + public static string Action_Send { get { - return ResourceManager.GetString("Label_PyTorchVersion", resourceCulture); + return ResourceManager.GetString("Action_Send", resourceCulture); } } - public static string Label_CloseDialogWhenFinished { + /// + /// Looks up a localized string similar to Send Input. + /// + public static string Action_SendInput { get { - return ResourceManager.GetString("Label_CloseDialogWhenFinished", resourceCulture); + return ResourceManager.GetString("Action_SendInput", resourceCulture); } } - public static string Label_DataDirectory { + /// + /// Looks up a localized string similar to Send to Inference. + /// + public static string Action_SendToInference { get { - return ResourceManager.GetString("Label_DataDirectory", resourceCulture); + return ResourceManager.GetString("Action_SendToInference", resourceCulture); } } - public static string Label_DataDirectoryExplanation { + /// + /// Looks up a localized string similar to Show in Explorer. + /// + public static string Action_ShowInExplorer { get { - return ResourceManager.GetString("Label_DataDirectoryExplanation", resourceCulture); + return ResourceManager.GetString("Action_ShowInExplorer", resourceCulture); } } - public static string Label_FatWarning { + /// + /// Looks up a localized string similar to Signup. + /// + public static string Action_Signup { get { - return ResourceManager.GetString("Label_FatWarning", resourceCulture); + return ResourceManager.GetString("Action_Signup", resourceCulture); } } - public static string Label_PortableMode { + /// + /// Looks up a localized string similar to Stop. + /// + public static string Action_Stop { get { - return ResourceManager.GetString("Label_PortableMode", resourceCulture); + return ResourceManager.GetString("Action_Stop", resourceCulture); } } - public static string Label_PortableModeExplanation { + /// + /// Looks up a localized string similar to Uninstall. + /// + public static string Action_Uninstall { get { - return ResourceManager.GetString("Label_PortableModeExplanation", resourceCulture); + return ResourceManager.GetString("Action_Uninstall", resourceCulture); } } - public static string Action_Continue { + /// + /// Looks up a localized string similar to Update. + /// + public static string Action_Update { get { - return ResourceManager.GetString("Action_Continue", resourceCulture); + return ResourceManager.GetString("Action_Update", resourceCulture); } } - public static string Label_PreviousImage { + /// + /// Looks up a localized string similar to Update Existing Metadata. + /// + public static string Action_UpdateExistingMetadata { get { - return ResourceManager.GetString("Label_PreviousImage", resourceCulture); + return ResourceManager.GetString("Action_UpdateExistingMetadata", resourceCulture); } } - public static string Label_NextImage { + /// + /// Looks up a localized string similar to Upgrade. + /// + public static string Action_Upgrade { get { - return ResourceManager.GetString("Label_NextImage", resourceCulture); + return ResourceManager.GetString("Action_Upgrade", resourceCulture); } } - public static string Label_ModelDescription { + /// + /// Looks up a localized string similar to Yes. + /// + public static string Action_Yes { get { - return ResourceManager.GetString("Label_ModelDescription", resourceCulture); + return ResourceManager.GetString("Action_Yes", resourceCulture); } } - public static string Label_NewVersionAvailable { + /// + /// Looks up a localized string similar to About. + /// + public static string Label_About { get { - return ResourceManager.GetString("Label_NewVersionAvailable", resourceCulture); + return ResourceManager.GetString("Label_About", resourceCulture); } } - public static string Label_ImportLatest { + /// + /// Looks up a localized string similar to Accounts. + /// + public static string Label_Accounts { get { - return ResourceManager.GetString("Label_ImportLatest", resourceCulture); + return ResourceManager.GetString("Label_Accounts", resourceCulture); } } - public static string Label_AllVersions { + /// + /// Looks up a localized string similar to Addons. + /// + public static string Label_Addons { get { - return ResourceManager.GetString("Label_AllVersions", resourceCulture); + return ResourceManager.GetString("Label_Addons", resourceCulture); } } - public static string Label_ModelSearchWatermark { + /// + /// Looks up a localized string similar to Add Stability Matrix to the Start Menu. + /// + public static string Label_AddToStartMenu { get { - return ResourceManager.GetString("Label_ModelSearchWatermark", resourceCulture); + return ResourceManager.GetString("Label_AddToStartMenu", resourceCulture); } } - public static string Action_Search { + /// + /// Looks up a localized string similar to Uses the current app location, you can run this again if you move the app. + /// + public static string Label_AddToStartMenu_Details { get { - return ResourceManager.GetString("Action_Search", resourceCulture); + return ResourceManager.GetString("Label_AddToStartMenu_Details", resourceCulture); } } - public static string Label_Sort { + /// + /// Looks up a localized string similar to Advanced Options. + /// + public static string Label_AdvancedOptions { get { - return ResourceManager.GetString("Label_Sort", resourceCulture); + return ResourceManager.GetString("Label_AdvancedOptions", resourceCulture); } } - public static string Label_TimePeriod { + /// + /// Looks up a localized string similar to All Versions. + /// + public static string Label_AllVersions { get { - return ResourceManager.GetString("Label_TimePeriod", resourceCulture); + return ResourceManager.GetString("Label_AllVersions", resourceCulture); } } - public static string Label_ModelType { + /// + /// Looks up a localized string similar to API Key. + /// + public static string Label_ApiKey { get { - return ResourceManager.GetString("Label_ModelType", resourceCulture); + return ResourceManager.GetString("Label_ApiKey", resourceCulture); } } - public static string Label_BaseModel { + /// + /// Looks up a localized string similar to Appearance. + /// + public static string Label_Appearance { get { - return ResourceManager.GetString("Label_BaseModel", resourceCulture); + return ResourceManager.GetString("Label_Appearance", resourceCulture); } } - public static string Label_ShowNsfwContent { + /// + /// Looks up a localized string similar to Are you sure?. + /// + public static string Label_AreYouSure { get { - return ResourceManager.GetString("Label_ShowNsfwContent", resourceCulture); + return ResourceManager.GetString("Label_AreYouSure", resourceCulture); } } - public static string Label_DataProvidedByCivitAi { + /// + /// Looks up a localized string similar to Augmentation Level. + /// + public static string Label_AugmentationLevel { get { - return ResourceManager.GetString("Label_DataProvidedByCivitAi", resourceCulture); + return ResourceManager.GetString("Label_AugmentationLevel", resourceCulture); } } - public static string Label_Page { + /// + /// Looks up a localized string similar to Auto Completion. + /// + public static string Label_AutoCompletion { get { - return ResourceManager.GetString("Label_Page", resourceCulture); + return ResourceManager.GetString("Label_AutoCompletion", resourceCulture); } } - public static string Label_FirstPage { + /// + /// Looks up a localized string similar to Automatically scroll to end of console output. + /// + public static string Label_AutoScrollToEnd { get { - return ResourceManager.GetString("Label_FirstPage", resourceCulture); + return ResourceManager.GetString("Label_AutoScrollToEnd", resourceCulture); } } - public static string Label_PreviousPage { + /// + /// Looks up a localized string similar to Auto Updates. + /// + public static string Label_AutoUpdates { get { - return ResourceManager.GetString("Label_PreviousPage", resourceCulture); + return ResourceManager.GetString("Label_AutoUpdates", resourceCulture); } } - public static string Label_NextPage { + /// + /// Looks up a localized string similar to Base Model. + /// + public static string Label_BaseModel { get { - return ResourceManager.GetString("Label_NextPage", resourceCulture); + return ResourceManager.GetString("Label_BaseModel", resourceCulture); } } - public static string Label_LastPage { + /// + /// Looks up a localized string similar to Batch Index. + /// + public static string Label_BatchIndex { get { - return ResourceManager.GetString("Label_LastPage", resourceCulture); + return ResourceManager.GetString("Label_BatchIndex", resourceCulture); } } - public static string Action_Rename { + /// + /// Looks up a localized string similar to Become a Patron. + /// + public static string Label_BecomeAPatron { get { - return ResourceManager.GetString("Action_Rename", resourceCulture); + return ResourceManager.GetString("Label_BecomeAPatron", resourceCulture); } } - public static string Action_Delete { + /// + /// Looks up a localized string similar to Branch. + /// + public static string Label_Branch { get { - return ResourceManager.GetString("Action_Delete", resourceCulture); + return ResourceManager.GetString("Label_Branch", resourceCulture); } } - public static string Action_OpenOnCivitAi { + /// + /// Looks up a localized string similar to Branches. + /// + public static string Label_Branches { get { - return ResourceManager.GetString("Action_OpenOnCivitAi", resourceCulture); + return ResourceManager.GetString("Label_Branches", resourceCulture); } } - public static string Label_ConnectedModel { + /// + /// Looks up a localized string similar to Callstack. + /// + public static string Label_Callstack { get { - return ResourceManager.GetString("Label_ConnectedModel", resourceCulture); + return ResourceManager.GetString("Label_Callstack", resourceCulture); } } - public static string Label_LocalModel { + /// + /// Looks up a localized string similar to Categories. + /// + public static string Label_Categories { get { - return ResourceManager.GetString("Label_LocalModel", resourceCulture); + return ResourceManager.GetString("Label_Categories", resourceCulture); } } - public static string Action_ShowInExplorer { + /// + /// Looks up a localized string similar to CFG Scale. + /// + public static string Label_CFGScale { get { - return ResourceManager.GetString("Action_ShowInExplorer", resourceCulture); + return ResourceManager.GetString("Label_CFGScale", resourceCulture); } } - public static string Action_New { + /// + /// Looks up a localized string similar to Checkpoint Manager. + /// + public static string Label_CheckpointManager { get { - return ResourceManager.GetString("Action_New", resourceCulture); + return ResourceManager.GetString("Label_CheckpointManager", resourceCulture); } } - public static string Label_Folder { + /// + /// Looks up a localized string similar to CivitAI. + /// + public static string Label_CivitAi { get { - return ResourceManager.GetString("Label_Folder", resourceCulture); + return ResourceManager.GetString("Label_CivitAi", resourceCulture); } } - public static string Label_DropFileToImport { + /// + /// Looks up a localized string similar to You must be logged in to download this checkpoint. Please enter a CivitAI API Key in the settings.. + /// + public static string Label_CivitAiLoginRequired { get { - return ResourceManager.GetString("Label_DropFileToImport", resourceCulture); + return ResourceManager.GetString("Label_CivitAiLoginRequired", resourceCulture); } } - public static string Label_ImportAsConnected { + /// + /// Looks up a localized string similar to CLIP Skip. + /// + public static string Label_CLIPSkip { get { - return ResourceManager.GetString("Label_ImportAsConnected", resourceCulture); + return ResourceManager.GetString("Label_CLIPSkip", resourceCulture); } } - public static string Label_ImportAsConnectedExplanation { + /// + /// Looks up a localized string similar to Close dialog when finished. + /// + public static string Label_CloseDialogWhenFinished { get { - return ResourceManager.GetString("Label_ImportAsConnectedExplanation", resourceCulture); + return ResourceManager.GetString("Label_CloseDialogWhenFinished", resourceCulture); } } - public static string Label_Indexing { + /// + /// Looks up a localized string similar to Comments. + /// + public static string Label_Comments { get { - return ResourceManager.GetString("Label_Indexing", resourceCulture); + return ResourceManager.GetString("Label_Comments", resourceCulture); } } - public static string Label_ModelsFolder { + /// + /// Looks up a localized string similar to Commit. + /// + public static string Label_Commit { get { - return ResourceManager.GetString("Label_ModelsFolder", resourceCulture); + return ResourceManager.GetString("Label_Commit", resourceCulture); } } - public static string Label_Categories { + /// + /// Looks up a localized string similar to Replace underscores with spaces when inserting completions. + /// + public static string Label_CompletionReplaceUnderscoresWithSpaces { get { - return ResourceManager.GetString("Label_Categories", resourceCulture); + return ResourceManager.GetString("Label_CompletionReplaceUnderscoresWithSpaces", resourceCulture); } } - public static string Label_LetsGetStarted { + /// + /// Looks up a localized string similar to Confirm Delete. + /// + public static string Label_ConfirmDelete { get { - return ResourceManager.GetString("Label_LetsGetStarted", resourceCulture); + return ResourceManager.GetString("Label_ConfirmDelete", resourceCulture); } } - public static string Label_ReadAndAgree { + /// + /// Looks up a localized string similar to Confirm Password. + /// + public static string Label_ConfirmPassword { get { - return ResourceManager.GetString("Label_ReadAndAgree", resourceCulture); + return ResourceManager.GetString("Label_ConfirmPassword", resourceCulture); } } - public static string Label_LicenseAgreement { + /// + /// Looks up a localized string similar to Confirm?. + /// + public static string Label_ConfirmQuestion { get { - return ResourceManager.GetString("Label_LicenseAgreement", resourceCulture); + return ResourceManager.GetString("Label_ConfirmQuestion", resourceCulture); } } - public static string Label_FindConnectedMetadata { + /// + /// Looks up a localized string similar to Connected. + /// + public static string Label_Connected { get { - return ResourceManager.GetString("Label_FindConnectedMetadata", resourceCulture); + return ResourceManager.GetString("Label_Connected", resourceCulture); } } - public static string Label_ShowModelImages { + /// + /// Looks up a localized string similar to Connected Model. + /// + public static string Label_ConnectedModel { get { - return ResourceManager.GetString("Label_ShowModelImages", resourceCulture); + return ResourceManager.GetString("Label_ConnectedModel", resourceCulture); } } - public static string Label_Appearance { + /// + /// Looks up a localized string similar to Connecting.... + /// + public static string Label_ConnectingEllipsis { get { - return ResourceManager.GetString("Label_Appearance", resourceCulture); + return ResourceManager.GetString("Label_ConnectingEllipsis", resourceCulture); } } - public static string Label_Theme { + /// + /// Looks up a localized string similar to This will move all generated images from the selected packages to the Consolidated directory of the shared outputs folder. This action cannot be undone.. + /// + public static string Label_ConsolidateExplanation { get { - return ResourceManager.GetString("Label_Theme", resourceCulture); + return ResourceManager.GetString("Label_ConsolidateExplanation", resourceCulture); } } - public static string Label_CheckpointManager { + /// + /// Looks up a localized string similar to Control Steps. + /// + public static string Label_ControlSteps { get { - return ResourceManager.GetString("Label_CheckpointManager", resourceCulture); + return ResourceManager.GetString("Label_ControlSteps", resourceCulture); } } - public static string Label_RemoveSymlinksOnShutdown { + /// + /// Looks up a localized string similar to Control Weight. + /// + public static string Label_ControlWeight { get { - return ResourceManager.GetString("Label_RemoveSymlinksOnShutdown", resourceCulture); + return ResourceManager.GetString("Label_ControlWeight", resourceCulture); } } - public static string Label_RemoveSymlinksOnShutdown_Details { + /// + /// Looks up a localized string similar to Current directory:. + /// + public static string Label_CurrentDirectory { get { - return ResourceManager.GetString("Label_RemoveSymlinksOnShutdown_Details", resourceCulture); + return ResourceManager.GetString("Label_CurrentDirectory", resourceCulture); } } - public static string Label_ResetCheckpointsCache { + /// + /// Looks up a localized string similar to Data Directory. + /// + public static string Label_DataDirectory { get { - return ResourceManager.GetString("Label_ResetCheckpointsCache", resourceCulture); + return ResourceManager.GetString("Label_DataDirectory", resourceCulture); } } - public static string Label_ResetCheckpointsCache_Details { + /// + /// Looks up a localized string similar to This is where application data (model checkpoints, web UIs, etc.) will be installed.. + /// + public static string Label_DataDirectoryExplanation { get { - return ResourceManager.GetString("Label_ResetCheckpointsCache_Details", resourceCulture); + return ResourceManager.GetString("Label_DataDirectoryExplanation", resourceCulture); } } - public static string Label_PackageEnvironment { + /// + /// Looks up a localized string similar to Data Folder Name. + /// + public static string Label_DataFolderName { get { - return ResourceManager.GetString("Label_PackageEnvironment", resourceCulture); + return ResourceManager.GetString("Label_DataFolderName", resourceCulture); } } - public static string Action_Edit { + /// + /// Looks up a localized string similar to Data provided by CivitAI. + /// + public static string Label_DataProvidedByCivitAi { get { - return ResourceManager.GetString("Action_Edit", resourceCulture); + return ResourceManager.GetString("Label_DataProvidedByCivitAi", resourceCulture); } } - public static string Label_EnvironmentVariables { + /// + /// Looks up a localized string similar to Deemphasis. + /// + public static string Label_Deemphasis { get { - return ResourceManager.GetString("Label_EnvironmentVariables", resourceCulture); + return ResourceManager.GetString("Label_Deemphasis", resourceCulture); } } - public static string Label_EmbeddedPython { + /// + /// Looks up a localized string similar to Denoising Strength. + /// + public static string Label_DenoisingStrength { get { - return ResourceManager.GetString("Label_EmbeddedPython", resourceCulture); + return ResourceManager.GetString("Label_DenoisingStrength", resourceCulture); } } - public static string Action_CheckVersion { + /// + /// Looks up a localized string similar to Details. + /// + public static string Label_Details { get { - return ResourceManager.GetString("Action_CheckVersion", resourceCulture); + return ResourceManager.GetString("Label_Details", resourceCulture); } } - public static string Label_Integrations { + /// + /// Looks up a localized string similar to Discord Rich Presence. + /// + public static string Label_DiscordRichPresence { get { - return ResourceManager.GetString("Label_Integrations", resourceCulture); + return ResourceManager.GetString("Label_DiscordRichPresence", resourceCulture); } } - public static string Label_DiscordRichPresence { + /// + /// Looks up a localized string similar to Display Name. + /// + public static string Label_DisplayName { get { - return ResourceManager.GetString("Label_DiscordRichPresence", resourceCulture); + return ResourceManager.GetString("Label_DisplayName", resourceCulture); } } - public static string Label_System { + /// + /// Looks up a localized string similar to Download Failed. + /// + public static string Label_DownloadFailed { get { - return ResourceManager.GetString("Label_System", resourceCulture); + return ResourceManager.GetString("Label_DownloadFailed", resourceCulture); } } - public static string Label_AddToStartMenu { + /// + /// Looks up a localized string similar to Downloads. + /// + public static string Label_Downloads { get { - return ResourceManager.GetString("Label_AddToStartMenu", resourceCulture); + return ResourceManager.GetString("Label_Downloads", resourceCulture); } } - public static string Label_AddToStartMenu_Details { + /// + /// Looks up a localized string similar to Drag & Drop checkpoints here to import. + /// + public static string Label_DragAndDropCheckpointsHereToImport { get { - return ResourceManager.GetString("Label_AddToStartMenu_Details", resourceCulture); + return ResourceManager.GetString("Label_DragAndDropCheckpointsHereToImport", resourceCulture); } } - public static string Label_OnlyAvailableOnWindows { + /// + /// Looks up a localized string similar to Drop file here to import. + /// + public static string Label_DropFileToImport { get { - return ResourceManager.GetString("Label_OnlyAvailableOnWindows", resourceCulture); + return ResourceManager.GetString("Label_DropFileToImport", resourceCulture); } } - public static string Action_AddForCurrentUser { + /// + /// Looks up a localized string similar to Email. + /// + public static string Label_Email { get { - return ResourceManager.GetString("Action_AddForCurrentUser", resourceCulture); + return ResourceManager.GetString("Label_Email", resourceCulture); } } - public static string Action_AddForAllUsers { + /// + /// Looks up a localized string similar to Embedded Python. + /// + public static string Label_EmbeddedPython { get { - return ResourceManager.GetString("Action_AddForAllUsers", resourceCulture); + return ResourceManager.GetString("Label_EmbeddedPython", resourceCulture); } } - public static string Label_SelectNewDataDirectory { + /// + /// Looks up a localized string similar to Embeddings / Textual Inversion. + /// + public static string Label_EmbeddingsOrTextualInversion { get { - return ResourceManager.GetString("Label_SelectNewDataDirectory", resourceCulture); + return ResourceManager.GetString("Label_EmbeddingsOrTextualInversion", resourceCulture); } } - public static string Label_SelectNewDataDirectory_Details { + /// + /// Looks up a localized string similar to Emphasis. + /// + public static string Label_Emphasis { get { - return ResourceManager.GetString("Label_SelectNewDataDirectory_Details", resourceCulture); + return ResourceManager.GetString("Label_Emphasis", resourceCulture); } } - public static string Action_SelectDirectory { + /// + /// Looks up a localized string similar to Environment Variables. + /// + public static string Label_EnvironmentVariables { get { - return ResourceManager.GetString("Action_SelectDirectory", resourceCulture); + return ResourceManager.GetString("Label_EnvironmentVariables", resourceCulture); } } - public static string Label_About { + /// + /// Looks up a localized string similar to Name. + /// + public static string Label_EnvVarsTable_Name { get { - return ResourceManager.GetString("Label_About", resourceCulture); + return ResourceManager.GetString("Label_EnvVarsTable_Name", resourceCulture); } } - public static string Label_StabilityMatrix { + /// + /// Looks up a localized string similar to Value. + /// + public static string Label_EnvVarsTable_Value { get { - return ResourceManager.GetString("Label_StabilityMatrix", resourceCulture); + return ResourceManager.GetString("Label_EnvVarsTable_Value", resourceCulture); } } - public static string Label_LicenseAndOpenSourceNotices { + /// + /// Looks up a localized string similar to Error installing package. + /// + public static string Label_ErrorInstallingPackage { get { - return ResourceManager.GetString("Label_LicenseAndOpenSourceNotices", resourceCulture); + return ResourceManager.GetString("Label_ErrorInstallingPackage", resourceCulture); } } - public static string TeachingTip_ClickLaunchToGetStarted { + /// + /// Looks up a localized string similar to You may encounter errors when using a FAT32 or exFAT drive. Select a different drive for a smoother experience.. + /// + public static string Label_FatWarning { get { - return ResourceManager.GetString("TeachingTip_ClickLaunchToGetStarted", resourceCulture); + return ResourceManager.GetString("Label_FatWarning", resourceCulture); } } - public static string Action_Stop { + /// + /// Looks up a localized string similar to Find Connected Metadata. + /// + public static string Label_FindConnectedMetadata { get { - return ResourceManager.GetString("Action_Stop", resourceCulture); + return ResourceManager.GetString("Label_FindConnectedMetadata", resourceCulture); } } - public static string Action_SendInput { + /// + /// Looks up a localized string similar to Find in Model Browser. + /// + public static string Label_FindInModelBrowser { get { - return ResourceManager.GetString("Action_SendInput", resourceCulture); + return ResourceManager.GetString("Label_FindInModelBrowser", resourceCulture); } } - public static string Label_Input { + /// + /// Looks up a localized string similar to First Page. + /// + public static string Label_FirstPage { get { - return ResourceManager.GetString("Label_Input", resourceCulture); + return ResourceManager.GetString("Label_FirstPage", resourceCulture); } } - public static string Action_Send { + /// + /// Looks up a localized string similar to Folder. + /// + public static string Label_Folder { get { - return ResourceManager.GetString("Action_Send", resourceCulture); + return ResourceManager.GetString("Label_Folder", resourceCulture); } } - public static string Label_InputRequired { + /// + /// Looks up a localized string similar to Frames Per Second. + /// + public static string Label_Fps { get { - return ResourceManager.GetString("Label_InputRequired", resourceCulture); + return ResourceManager.GetString("Label_Fps", resourceCulture); } } - public static string Label_ConfirmQuestion { + /// + /// Looks up a localized string similar to Frames. + /// + public static string Label_Frames { get { - return ResourceManager.GetString("Label_ConfirmQuestion", resourceCulture); + return ResourceManager.GetString("Label_Frames", resourceCulture); } } - public static string Action_Yes { + /// + /// Looks up a localized string similar to General. + /// + public static string Label_General { get { - return ResourceManager.GetString("Action_Yes", resourceCulture); + return ResourceManager.GetString("Label_General", resourceCulture); } } - public static string Label_No { + /// + /// Looks up a localized string similar to Height. + /// + public static string Label_Height { get { - return ResourceManager.GetString("Label_No", resourceCulture); + return ResourceManager.GetString("Label_Height", resourceCulture); } } - public static string Action_OpenWebUI { + /// + /// Looks up a localized string similar to Holiday Mode. + /// + public static string Label_HolidayMode { get { - return ResourceManager.GetString("Action_OpenWebUI", resourceCulture); + return ResourceManager.GetString("Label_HolidayMode", resourceCulture); } } - public static string Text_WelcomeToStabilityMatrix { + /// + /// Looks up a localized string similar to Hugging Face. + /// + public static string Label_HuggingFace { get { - return ResourceManager.GetString("Text_WelcomeToStabilityMatrix", resourceCulture); + return ResourceManager.GetString("Label_HuggingFace", resourceCulture); } } - public static string Text_OneClickInstaller_SubHeader { + /// + /// Looks up a localized string similar to Image to Image. + /// + public static string Label_ImageToImage { get { - return ResourceManager.GetString("Text_OneClickInstaller_SubHeader", resourceCulture); + return ResourceManager.GetString("Label_ImageToImage", resourceCulture); } } - public static string Label_Installing { + /// + /// Looks up a localized string similar to Image to Video. + /// + public static string Label_ImageToVideo { get { - return ResourceManager.GetString("Label_Installing", resourceCulture); + return ResourceManager.GetString("Label_ImageToVideo", resourceCulture); } } - public static string Text_ProceedingToLaunchPage { + /// + /// Looks up a localized string similar to Image Viewer. + /// + public static string Label_ImageViewer { get { - return ResourceManager.GetString("Text_ProceedingToLaunchPage", resourceCulture); + return ResourceManager.GetString("Label_ImageViewer", resourceCulture); } } - public static string Progress_DownloadingPackage { + /// + /// Looks up a localized string similar to Import with Metadata. + /// + public static string Label_ImportAsConnected { get { - return ResourceManager.GetString("Progress_DownloadingPackage", resourceCulture); + return ResourceManager.GetString("Label_ImportAsConnected", resourceCulture); } } - public static string Progress_DownloadComplete { + /// + /// Looks up a localized string similar to Search for connected metadata on new local imports. + /// + public static string Label_ImportAsConnectedExplanation { get { - return ResourceManager.GetString("Progress_DownloadComplete", resourceCulture); + return ResourceManager.GetString("Label_ImportAsConnectedExplanation", resourceCulture); } } - public static string Progress_InstallationComplete { + /// + /// Looks up a localized string similar to Import Latest -. + /// + public static string Label_ImportLatest { get { - return ResourceManager.GetString("Progress_InstallationComplete", resourceCulture); + return ResourceManager.GetString("Label_ImportLatest", resourceCulture); } } - public static string Progress_InstallingPrerequisites { + /// + /// Looks up a localized string similar to Indexing.... + /// + public static string Label_Indexing { get { - return ResourceManager.GetString("Progress_InstallingPrerequisites", resourceCulture); + return ResourceManager.GetString("Label_Indexing", resourceCulture); } } - public static string Progress_InstallingPackageRequirements { + /// + /// Looks up a localized string similar to Inference. + /// + public static string Label_Inference { get { - return ResourceManager.GetString("Progress_InstallingPackageRequirements", resourceCulture); + return ResourceManager.GetString("Label_Inference", resourceCulture); } } - public static string Action_OpenInExplorer { + /// + /// Looks up a localized string similar to Inner exception. + /// + public static string Label_InnerException { get { - return ResourceManager.GetString("Action_OpenInExplorer", resourceCulture); + return ResourceManager.GetString("Label_InnerException", resourceCulture); } } - public static string Action_OpenInFinder { + /// + /// Looks up a localized string similar to Inpainting. + /// + public static string Label_Inpainting { + get { + return ResourceManager.GetString("Label_Inpainting", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Input. + /// + public static string Label_Input { get { - return ResourceManager.GetString("Action_OpenInFinder", resourceCulture); + return ResourceManager.GetString("Label_Input", resourceCulture); } } - public static string Action_Uninstall { + /// + /// Looks up a localized string similar to Input required. + /// + public static string Label_InputRequired { get { - return ResourceManager.GetString("Action_Uninstall", resourceCulture); + return ResourceManager.GetString("Label_InputRequired", resourceCulture); } } - public static string Action_CheckForUpdates { + /// + /// Looks up a localized string similar to An installation with this name already exists.. + /// + public static string Label_InstallationWithThisNameExists { get { - return ResourceManager.GetString("Action_CheckForUpdates", resourceCulture); + return ResourceManager.GetString("Label_InstallationWithThisNameExists", resourceCulture); } } - public static string Action_Update { + /// + /// Looks up a localized string similar to Installed. + /// + public static string Label_Installed { get { - return ResourceManager.GetString("Action_Update", resourceCulture); + return ResourceManager.GetString("Label_Installed", resourceCulture); } } - public static string Action_AddPackage { + /// + /// Looks up a localized string similar to Installing. + /// + public static string Label_Installing { get { - return ResourceManager.GetString("Action_AddPackage", resourceCulture); + return ResourceManager.GetString("Label_Installing", resourceCulture); } } - public static string TeachingTip_AddPackageToGetStarted { + /// + /// Looks up a localized string similar to Integrations. + /// + public static string Label_Integrations { get { - return ResourceManager.GetString("TeachingTip_AddPackageToGetStarted", resourceCulture); + return ResourceManager.GetString("Label_Integrations", resourceCulture); } } - public static string Label_EnvVarsTable_Name { + /// + /// Looks up a localized string similar to Invalid Package type. + /// + public static string Label_InvalidPackageType { get { - return ResourceManager.GetString("Label_EnvVarsTable_Name", resourceCulture); + return ResourceManager.GetString("Label_InvalidPackageType", resourceCulture); } } - public static string Label_EnvVarsTable_Value { + /// + /// Looks up a localized string similar to Join Discord Server. + /// + public static string Label_JoinDiscord { get { - return ResourceManager.GetString("Label_EnvVarsTable_Value", resourceCulture); + return ResourceManager.GetString("Label_JoinDiscord", resourceCulture); } } - public static string Action_Remove { + /// + /// Looks up a localized string similar to Language. + /// + public static string Label_Language { get { - return ResourceManager.GetString("Action_Remove", resourceCulture); + return ResourceManager.GetString("Label_Language", resourceCulture); } } - public static string Label_Details { + /// + /// Looks up a localized string similar to Last Page. + /// + public static string Label_LastPage { get { - return ResourceManager.GetString("Label_Details", resourceCulture); + return ResourceManager.GetString("Label_LastPage", resourceCulture); } } - public static string Label_Callstack { + /// + /// Looks up a localized string similar to Let's get started. + /// + public static string Label_LetsGetStarted { get { - return ResourceManager.GetString("Label_Callstack", resourceCulture); + return ResourceManager.GetString("Label_LetsGetStarted", resourceCulture); } } - public static string Label_InnerException { + /// + /// Looks up a localized string similar to License. + /// + public static string Label_License { get { - return ResourceManager.GetString("Label_InnerException", resourceCulture); + return ResourceManager.GetString("Label_License", resourceCulture); } } - public static string Label_SearchEllipsis { + /// + /// Looks up a localized string similar to License Agreement.. + /// + public static string Label_LicenseAgreement { get { - return ResourceManager.GetString("Label_SearchEllipsis", resourceCulture); + return ResourceManager.GetString("Label_LicenseAgreement", resourceCulture); } } - public static string Action_OK { + /// + /// Looks up a localized string similar to License and Open Source Notices. + /// + public static string Label_LicenseAndOpenSourceNotices { get { - return ResourceManager.GetString("Action_OK", resourceCulture); + return ResourceManager.GetString("Label_LicenseAndOpenSourceNotices", resourceCulture); } } - public static string Action_Retry { + /// + /// Looks up a localized string similar to Local Model. + /// + public static string Label_LocalModel { get { - return ResourceManager.GetString("Action_Retry", resourceCulture); + return ResourceManager.GetString("Label_LocalModel", resourceCulture); } } - public static string Label_PythonVersionInfo { + /// + /// Looks up a localized string similar to Lossless. + /// + public static string Label_Lossless { get { - return ResourceManager.GetString("Label_PythonVersionInfo", resourceCulture); + return ResourceManager.GetString("Label_Lossless", resourceCulture); } } - public static string Action_Restart { + /// + /// Looks up a localized string similar to Min CFG. + /// + public static string Label_MinCfg { get { - return ResourceManager.GetString("Action_Restart", resourceCulture); + return ResourceManager.GetString("Label_MinCfg", resourceCulture); } } - public static string Label_ConfirmDelete { + /// + /// Looks up a localized string similar to Missing Image File. + /// + public static string Label_MissingImageFile { get { - return ResourceManager.GetString("Label_ConfirmDelete", resourceCulture); + return ResourceManager.GetString("Label_MissingImageFile", resourceCulture); } } - public static string Text_PackageUninstall_Details { + /// + /// Looks up a localized string similar to Model. + /// + public static string Label_Model { get { - return ResourceManager.GetString("Text_PackageUninstall_Details", resourceCulture); + return ResourceManager.GetString("Label_Model", resourceCulture); } } - public static string Progress_UninstallingPackage { + /// + /// Looks up a localized string similar to Model Description. + /// + public static string Label_ModelDescription { get { - return ResourceManager.GetString("Progress_UninstallingPackage", resourceCulture); + return ResourceManager.GetString("Label_ModelDescription", resourceCulture); } } - public static string Label_PackageUninstalled { + /// + /// Looks up a localized string similar to Search models, #tags, or @users. + /// + public static string Label_ModelSearchWatermark { get { - return ResourceManager.GetString("Label_PackageUninstalled", resourceCulture); + return ResourceManager.GetString("Label_ModelSearchWatermark", resourceCulture); } } - public static string Text_SomeFilesCouldNotBeDeleted { + /// + /// Looks up a localized string similar to Models Folder. + /// + public static string Label_ModelsFolder { get { - return ResourceManager.GetString("Text_SomeFilesCouldNotBeDeleted", resourceCulture); + return ResourceManager.GetString("Label_ModelsFolder", resourceCulture); } } - public static string Label_InvalidPackageType { + /// + /// Looks up a localized string similar to Model Type. + /// + public static string Label_ModelType { get { - return ResourceManager.GetString("Label_InvalidPackageType", resourceCulture); + return ResourceManager.GetString("Label_ModelType", resourceCulture); } } - public static string TextTemplate_UpdatingPackage { + /// + /// Looks up a localized string similar to Motion Bucket ID. + /// + public static string Label_MotionBucketId { get { - return ResourceManager.GetString("TextTemplate_UpdatingPackage", resourceCulture); + return ResourceManager.GetString("Label_MotionBucketId", resourceCulture); } } - public static string Progress_UpdateComplete { + /// + /// Looks up a localized string similar to Networks (Lora / LyCORIS). + /// + public static string Label_NetworksLoraOrLycoris { get { - return ResourceManager.GetString("Progress_UpdateComplete", resourceCulture); + return ResourceManager.GetString("Label_NetworksLoraOrLycoris", resourceCulture); } } - public static string TextTemplate_PackageUpdatedToLatest { + /// + /// Looks up a localized string similar to A new version of Stability Matrix is available!. + /// + public static string Label_NewVersionAvailable { get { - return ResourceManager.GetString("TextTemplate_PackageUpdatedToLatest", resourceCulture); + return ResourceManager.GetString("Label_NewVersionAvailable", resourceCulture); } } - public static string TextTemplate_ErrorUpdatingPackage { + /// + /// Looks up a localized string similar to Next Image. + /// + public static string Label_NextImage { get { - return ResourceManager.GetString("TextTemplate_ErrorUpdatingPackage", resourceCulture); + return ResourceManager.GetString("Label_NextImage", resourceCulture); } } - public static string Progress_UpdateFailed { + /// + /// Looks up a localized string similar to Next Page. + /// + public static string Label_NextPage { get { - return ResourceManager.GetString("Progress_UpdateFailed", resourceCulture); + return ResourceManager.GetString("Label_NextPage", resourceCulture); } } - public static string Action_OpenInBrowser { + /// + /// Looks up a localized string similar to No. + /// + public static string Label_No { get { - return ResourceManager.GetString("Action_OpenInBrowser", resourceCulture); + return ResourceManager.GetString("Label_No", resourceCulture); } } - public static string Label_ErrorInstallingPackage { + /// + /// Looks up a localized string similar to No extensions found.. + /// + public static string Label_NoExtensionsFound { get { - return ResourceManager.GetString("Label_ErrorInstallingPackage", resourceCulture); + return ResourceManager.GetString("Label_NoExtensionsFound", resourceCulture); } } - public static string Label_Branch { + /// + /// Looks up a localized string similar to {0} images selected. + /// + public static string Label_NumImagesSelected { get { - return ResourceManager.GetString("Label_Branch", resourceCulture); + return ResourceManager.GetString("Label_NumImagesSelected", resourceCulture); } } - public static string Label_AutoScrollToEnd { + /// + /// Looks up a localized string similar to 1 image selected. + /// + public static string Label_OneImageSelected { get { - return ResourceManager.GetString("Label_AutoScrollToEnd", resourceCulture); + return ResourceManager.GetString("Label_OneImageSelected", resourceCulture); } } - public static string Label_License { + /// + /// Looks up a localized string similar to Only available on Windows. + /// + public static string Label_OnlyAvailableOnWindows { get { - return ResourceManager.GetString("Label_License", resourceCulture); + return ResourceManager.GetString("Label_OnlyAvailableOnWindows", resourceCulture); } } - public static string Label_SharedModelStrategyShort { + /// + /// Looks up a localized string similar to Output Folder. + /// + public static string Label_OutputFolder { get { - return ResourceManager.GetString("Label_SharedModelStrategyShort", resourceCulture); + return ResourceManager.GetString("Label_OutputFolder", resourceCulture); } } - public static string Label_PleaseSelectDataDirectory { + /// + /// Looks up a localized string similar to Output Image Files. + /// + public static string Label_OutputImageFiles { get { - return ResourceManager.GetString("Label_PleaseSelectDataDirectory", resourceCulture); + return ResourceManager.GetString("Label_OutputImageFiles", resourceCulture); } } - public static string Label_DataFolderName { + /// + /// Looks up a localized string similar to Output Browser. + /// + public static string Label_OutputsPageTitle { get { - return ResourceManager.GetString("Label_DataFolderName", resourceCulture); + return ResourceManager.GetString("Label_OutputsPageTitle", resourceCulture); } } - public static string Label_CurrentDirectory { + /// + /// Looks up a localized string similar to Output Type. + /// + public static string Label_OutputType { get { - return ResourceManager.GetString("Label_CurrentDirectory", resourceCulture); + return ResourceManager.GetString("Label_OutputType", resourceCulture); } } - public static string Text_AppWillRelaunchAfterUpdate { + /// + /// Looks up a localized string similar to Package Environment. + /// + public static string Label_PackageEnvironment { get { - return ResourceManager.GetString("Text_AppWillRelaunchAfterUpdate", resourceCulture); + return ResourceManager.GetString("Label_PackageEnvironment", resourceCulture); } } - public static string Action_RemindMeLater { + /// + /// Looks up a localized string similar to Package Type. + /// + public static string Label_PackageType { get { - return ResourceManager.GetString("Action_RemindMeLater", resourceCulture); + return ResourceManager.GetString("Label_PackageType", resourceCulture); } } - public static string Action_InstallNow { + /// + /// Looks up a localized string similar to Package Uninstalled. + /// + public static string Label_PackageUninstalled { get { - return ResourceManager.GetString("Action_InstallNow", resourceCulture); + return ResourceManager.GetString("Label_PackageUninstalled", resourceCulture); } } - public static string Label_ReleaseNotes { + /// + /// Looks up a localized string similar to Page. + /// + public static string Label_Page { get { - return ResourceManager.GetString("Label_ReleaseNotes", resourceCulture); + return ResourceManager.GetString("Label_Page", resourceCulture); } } - public static string Action_OpenProjectEllipsis { + /// + /// Looks up a localized string similar to Password. + /// + public static string Label_Password { get { - return ResourceManager.GetString("Action_OpenProjectEllipsis", resourceCulture); + return ResourceManager.GetString("Label_Password", resourceCulture); } } - public static string Action_SaveAsEllipsis { + /// + /// Looks up a localized string similar to Please choose a different name or select a different install location.. + /// + public static string Label_PleaseChooseDifferentName { get { - return ResourceManager.GetString("Action_SaveAsEllipsis", resourceCulture); + return ResourceManager.GetString("Label_PleaseChooseDifferentName", resourceCulture); } } - public static string Action_RestoreDefaultLayout { + /// + /// Looks up a localized string similar to Please Select a Data Directory. + /// + public static string Label_PleaseSelectDataDirectory { get { - return ResourceManager.GetString("Action_RestoreDefaultLayout", resourceCulture); + return ResourceManager.GetString("Label_PleaseSelectDataDirectory", resourceCulture); } } - public static string Label_UseSharedOutputFolder { + /// + /// Looks up a localized string similar to Portable Mode. + /// + public static string Label_PortableMode { get { - return ResourceManager.GetString("Label_UseSharedOutputFolder", resourceCulture); + return ResourceManager.GetString("Label_PortableMode", resourceCulture); } } - public static string Label_BatchIndex { + /// + /// Looks up a localized string similar to In Portable Mode, all data and settings will be stored in the same directory as the application. You will be able to move the application with its 'Data' folder to a different location or computer.. + /// + public static string Label_PortableModeExplanation { get { - return ResourceManager.GetString("Label_BatchIndex", resourceCulture); + return ResourceManager.GetString("Label_PortableModeExplanation", resourceCulture); } } - public static string Action_Copy { + /// + /// Looks up a localized string similar to Preprocessor. + /// + public static string Label_Preprocessor { get { - return ResourceManager.GetString("Action_Copy", resourceCulture); + return ResourceManager.GetString("Label_Preprocessor", resourceCulture); } } - public static string Action_OpenInViewer { + /// + /// Looks up a localized string similar to Previous Image. + /// + public static string Label_PreviousImage { get { - return ResourceManager.GetString("Action_OpenInViewer", resourceCulture); + return ResourceManager.GetString("Label_PreviousImage", resourceCulture); } } - public static string Label_NumImagesSelected { + /// + /// Looks up a localized string similar to Previous Page. + /// + public static string Label_PreviousPage { get { - return ResourceManager.GetString("Label_NumImagesSelected", resourceCulture); + return ResourceManager.GetString("Label_PreviousPage", resourceCulture); } } - public static string Label_OutputFolder { + /// + /// Looks up a localized string similar to Prompt. + /// + public static string Label_Prompt { get { - return ResourceManager.GetString("Label_OutputFolder", resourceCulture); + return ResourceManager.GetString("Label_Prompt", resourceCulture); } } - public static string Label_OutputType { + /// + /// Looks up a localized string similar to Prompt Tags. + /// + public static string Label_PromptTags { get { - return ResourceManager.GetString("Label_OutputType", resourceCulture); + return ResourceManager.GetString("Label_PromptTags", resourceCulture); } } - public static string Action_ClearSelection { + /// + /// Looks up a localized string similar to Tags file to use for suggesting completions (Supports the a1111-sd-webui-tagcomplete .csv format). + /// + public static string Label_PromptTagsDescription { get { - return ResourceManager.GetString("Action_ClearSelection", resourceCulture); + return ResourceManager.GetString("Label_PromptTagsDescription", resourceCulture); } } - public static string Action_SelectAll { + /// + /// Looks up a localized string similar to Import Prompt tags. + /// + public static string Label_PromptTagsImport { get { - return ResourceManager.GetString("Action_SelectAll", resourceCulture); + return ResourceManager.GetString("Label_PromptTagsImport", resourceCulture); } } - public static string Action_SendToInference { + /// + /// Looks up a localized string similar to Python Packages. + /// + public static string Label_PythonPackages { get { - return ResourceManager.GetString("Action_SendToInference", resourceCulture); + return ResourceManager.GetString("Label_PythonPackages", resourceCulture); } } - public static string Label_TextToImage { + /// + /// Looks up a localized string similar to Python Version Info. + /// + public static string Label_PythonVersionInfo { get { - return ResourceManager.GetString("Label_TextToImage", resourceCulture); + return ResourceManager.GetString("Label_PythonVersionInfo", resourceCulture); } } - public static string Label_ImageToImage { + /// + /// Looks up a localized string similar to PyTorch Version. + /// + public static string Label_PyTorchVersion { get { - return ResourceManager.GetString("Label_ImageToImage", resourceCulture); + return ResourceManager.GetString("Label_PyTorchVersion", resourceCulture); } } - public static string Label_Inpainting { + /// + /// Looks up a localized string similar to I have read and agree to the. + /// + public static string Label_ReadAndAgree { get { - return ResourceManager.GetString("Label_Inpainting", resourceCulture); + return ResourceManager.GetString("Label_ReadAndAgree", resourceCulture); } } - public static string Label_Upscale { + /// + /// Looks up a localized string similar to Refiner. + /// + public static string Label_Refiner { get { - return ResourceManager.GetString("Label_Upscale", resourceCulture); + return ResourceManager.GetString("Label_Refiner", resourceCulture); } } - public static string Label_OutputsPageTitle { + /// + /// Looks up a localized string similar to Relaunch Required. + /// + public static string Label_RelaunchRequired { get { - return ResourceManager.GetString("Label_OutputsPageTitle", resourceCulture); + return ResourceManager.GetString("Label_RelaunchRequired", resourceCulture); } } - public static string Label_OneImageSelected { + /// + /// Looks up a localized string similar to Release Notes. + /// + public static string Label_ReleaseNotes { get { - return ResourceManager.GetString("Label_OneImageSelected", resourceCulture); + return ResourceManager.GetString("Label_ReleaseNotes", resourceCulture); } } - public static string Label_Preprocessor { + /// + /// Looks up a localized string similar to Releases. + /// + public static string Label_Releases { get { - return ResourceManager.GetString("Label_Preprocessor", resourceCulture); + return ResourceManager.GetString("Label_Releases", resourceCulture); } } - public static string Label_Strength { + /// + /// Looks up a localized string similar to Remove shared checkpoints directory symbolic links on shutdown. + /// + public static string Label_RemoveSymlinksOnShutdown { get { - return ResourceManager.GetString("Label_Strength", resourceCulture); + return ResourceManager.GetString("Label_RemoveSymlinksOnShutdown", resourceCulture); } } - public static string Label_ControlWeight { + /// + /// Looks up a localized string similar to Select this option if you're having problems moving Stability Matrix to another drive. + /// + public static string Label_RemoveSymlinksOnShutdown_Details { get { - return ResourceManager.GetString("Label_ControlWeight", resourceCulture); + return ResourceManager.GetString("Label_RemoveSymlinksOnShutdown_Details", resourceCulture); } } - public static string Label_ControlSteps { + /// + /// Looks up a localized string similar to Reset Checkpoints Cache. + /// + public static string Label_ResetCheckpointsCache { get { - return ResourceManager.GetString("Label_ControlSteps", resourceCulture); + return ResourceManager.GetString("Label_ResetCheckpointsCache", resourceCulture); } } - public static string Label_PythonPackages { + /// + /// Looks up a localized string similar to Rebuilds the installed checkpoints cache. Use if checkpoints are incorrectly labeled in the Model Browser. + /// + public static string Label_ResetCheckpointsCache_Details { get { - return ResourceManager.GetString("Label_PythonPackages", resourceCulture); + return ResourceManager.GetString("Label_ResetCheckpointsCache_Details", resourceCulture); } } - public static string Action_Consolidate { + /// + /// Looks up a localized string similar to Save Intermediate Image. + /// + public static string Label_SaveIntermediateImage { get { - return ResourceManager.GetString("Action_Consolidate", resourceCulture); + return ResourceManager.GetString("Label_SaveIntermediateImage", resourceCulture); } } - public static string Label_AreYouSure { + /// + /// Looks up a localized string similar to Search.... + /// + public static string Label_SearchEllipsis { get { - return ResourceManager.GetString("Label_AreYouSure", resourceCulture); + return ResourceManager.GetString("Label_SearchEllipsis", resourceCulture); } } - public static string Label_ConsolidateExplanation { + /// + /// Looks up a localized string similar to Select new Data Directory. + /// + public static string Label_SelectNewDataDirectory { get { - return ResourceManager.GetString("Label_ConsolidateExplanation", resourceCulture); + return ResourceManager.GetString("Label_SelectNewDataDirectory", resourceCulture); } } - public static string Action_Refresh { + /// + /// Looks up a localized string similar to Does not move existing data. + /// + public static string Label_SelectNewDataDirectory_Details { get { - return ResourceManager.GetString("Action_Refresh", resourceCulture); + return ResourceManager.GetString("Label_SelectNewDataDirectory_Details", resourceCulture); } } - public static string Action_Upgrade { + /// + /// Looks up a localized string similar to Settings. + /// + public static string Label_Settings { get { - return ResourceManager.GetString("Action_Upgrade", resourceCulture); + return ResourceManager.GetString("Label_Settings", resourceCulture); } } - public static string Action_Downgrade { + /// + /// Looks up a localized string similar to Shared Model Folder Strategy. + /// + public static string Label_SharedModelFolderStrategy { get { - return ResourceManager.GetString("Action_Downgrade", resourceCulture); + return ResourceManager.GetString("Label_SharedModelFolderStrategy", resourceCulture); } } - public static string Action_OpenGithub { + /// + /// Looks up a localized string similar to Model Sharing. + /// + public static string Label_SharedModelStrategyShort { get { - return ResourceManager.GetString("Action_OpenGithub", resourceCulture); + return ResourceManager.GetString("Label_SharedModelStrategyShort", resourceCulture); } } - public static string Label_Connected { + /// + /// Looks up a localized string similar to Show Model Images. + /// + public static string Label_ShowModelImages { get { - return ResourceManager.GetString("Label_Connected", resourceCulture); + return ResourceManager.GetString("Label_ShowModelImages", resourceCulture); } } - public static string Action_Disconnect { + /// + /// Looks up a localized string similar to Show NSFW Content. + /// + public static string Label_ShowNsfwContent { get { - return ResourceManager.GetString("Action_Disconnect", resourceCulture); + return ResourceManager.GetString("Label_ShowNsfwContent", resourceCulture); } } - public static string Label_Email { + /// + /// Looks up a localized string similar to Show pixel grid at high zoom levels. + /// + public static string Label_ShowPixelGridAtHighZoomLevels { get { - return ResourceManager.GetString("Label_Email", resourceCulture); + return ResourceManager.GetString("Label_ShowPixelGridAtHighZoomLevels", resourceCulture); } } - public static string Label_Username { + /// + /// Looks up a localized string similar to Skip first-time setup. + /// + public static string Label_SkipSetup { get { - return ResourceManager.GetString("Label_Username", resourceCulture); + return ResourceManager.GetString("Label_SkipSetup", resourceCulture); } } - public static string Label_Password { + /// + /// Looks up a localized string similar to Sort. + /// + public static string Label_Sort { get { - return ResourceManager.GetString("Label_Password", resourceCulture); + return ResourceManager.GetString("Label_Sort", resourceCulture); } } - public static string Action_Login { + /// + /// Looks up a localized string similar to Stability Matrix. + /// + public static string Label_StabilityMatrix { get { - return ResourceManager.GetString("Action_Login", resourceCulture); + return ResourceManager.GetString("Label_StabilityMatrix", resourceCulture); } } - public static string Action_Signup { + /// + /// Looks up a localized string similar to Steps. + /// + public static string Label_Steps { get { - return ResourceManager.GetString("Action_Signup", resourceCulture); + return ResourceManager.GetString("Label_Steps", resourceCulture); } } - public static string Label_ConfirmPassword { + /// + /// Looks up a localized string similar to Steps - Base. + /// + public static string Label_StepsBase { get { - return ResourceManager.GetString("Label_ConfirmPassword", resourceCulture); + return ResourceManager.GetString("Label_StepsBase", resourceCulture); } } - public static string Label_ApiKey { + /// + /// Looks up a localized string similar to Steps - Refiner. + /// + public static string Label_StepsRefiner { get { - return ResourceManager.GetString("Label_ApiKey", resourceCulture); + return ResourceManager.GetString("Label_StepsRefiner", resourceCulture); } } - public static string Label_Accounts { + /// + /// Looks up a localized string similar to Strength. + /// + public static string Label_Strength { get { - return ResourceManager.GetString("Label_Accounts", resourceCulture); + return ResourceManager.GetString("Label_Strength", resourceCulture); } } - public static string Label_CivitAiLoginRequired { + /// + /// Looks up a localized string similar to System. + /// + public static string Label_System { get { - return ResourceManager.GetString("Label_CivitAiLoginRequired", resourceCulture); + return ResourceManager.GetString("Label_System", resourceCulture); } } - public static string Label_DownloadFailed { + /// + /// Looks up a localized string similar to System Information. + /// + public static string Label_SystemInformation { get { - return ResourceManager.GetString("Label_DownloadFailed", resourceCulture); + return ResourceManager.GetString("Label_SystemInformation", resourceCulture); } } - public static string Label_AutoUpdates { + /// + /// Looks up a localized string similar to Text to Image. + /// + public static string Label_TextToImage { get { - return ResourceManager.GetString("Label_AutoUpdates", resourceCulture); + return ResourceManager.GetString("Label_TextToImage", resourceCulture); } } - public static string Label_UpdatesPreviewChannelDescription { + /// + /// Looks up a localized string similar to Theme. + /// + public static string Label_Theme { get { - return ResourceManager.GetString("Label_UpdatesPreviewChannelDescription", resourceCulture); + return ResourceManager.GetString("Label_Theme", resourceCulture); } } - public static string Label_UpdatesDevChannelDescription { + /// + /// Looks up a localized string similar to Period. + /// + public static string Label_TimePeriod { get { - return ResourceManager.GetString("Label_UpdatesDevChannelDescription", resourceCulture); + return ResourceManager.GetString("Label_TimePeriod", resourceCulture); } } - public static string Label_Updates { + /// + /// Looks up a localized string similar to Trigger words:. + /// + public static string Label_TriggerWords { get { - return ResourceManager.GetString("Label_Updates", resourceCulture); + return ResourceManager.GetString("Label_TriggerWords", resourceCulture); } } - public static string Label_YouAreUpToDate { + /// + /// Looks up a localized string similar to An unexpected error occurred. + /// + public static string Label_UnexpectedErrorOccurred { get { - return ResourceManager.GetString("Label_YouAreUpToDate", resourceCulture); + return ResourceManager.GetString("Label_UnexpectedErrorOccurred", resourceCulture); } } - public static string TextTemplate_LastChecked { + /// + /// Looks up a localized string similar to Unknown Package. + /// + public static string Label_UnknownPackage { get { - return ResourceManager.GetString("TextTemplate_LastChecked", resourceCulture); + return ResourceManager.GetString("Label_UnknownPackage", resourceCulture); } } - public static string Action_CopyTriggerWords { + /// + /// Looks up a localized string similar to Update Available. + /// + public static string Label_UpdateAvailable { get { - return ResourceManager.GetString("Action_CopyTriggerWords", resourceCulture); + return ResourceManager.GetString("Label_UpdateAvailable", resourceCulture); } } - public static string Label_TriggerWords { + /// + /// Looks up a localized string similar to Updates. + /// + public static string Label_Updates { get { - return ResourceManager.GetString("Label_TriggerWords", resourceCulture); + return ResourceManager.GetString("Label_Updates", resourceCulture); } } - public static string TeachingTip_MoreCheckpointCategories { + /// + /// Looks up a localized string similar to For technical users. Be the first to access our Development builds from feature branches as soon as they are available. There may be some rough edges and bugs as we experiment with new features.. + /// + public static string Label_UpdatesDevChannelDescription { get { - return ResourceManager.GetString("TeachingTip_MoreCheckpointCategories", resourceCulture); + return ResourceManager.GetString("Label_UpdatesDevChannelDescription", resourceCulture); } } - public static string Action_OpenOnHuggingFace { + /// + /// Looks up a localized string similar to For early adopters. Preview builds will be more reliable than those from the Dev channel, and will be available closer to stable releases. Your feedback will help us greatly in discovering issues and polishing design elements.. + /// + public static string Label_UpdatesPreviewChannelDescription { get { - return ResourceManager.GetString("Action_OpenOnHuggingFace", resourceCulture); + return ResourceManager.GetString("Label_UpdatesPreviewChannelDescription", resourceCulture); } } - public static string Action_UpdateExistingMetadata { + /// + /// Looks up a localized string similar to Upscale. + /// + public static string Label_Upscale { get { - return ResourceManager.GetString("Action_UpdateExistingMetadata", resourceCulture); + return ResourceManager.GetString("Label_Upscale", resourceCulture); } } - public static string Label_General { + /// + /// Looks up a localized string similar to Username. + /// + public static string Label_Username { get { - return ResourceManager.GetString("Label_General", resourceCulture); + return ResourceManager.GetString("Label_Username", resourceCulture); } } - public static string Label_Inference { + /// + /// Looks up a localized string similar to Output Sharing. + /// + public static string Label_UseSharedOutputFolder { get { - return ResourceManager.GetString("Label_Inference", resourceCulture); + return ResourceManager.GetString("Label_UseSharedOutputFolder", resourceCulture); } } - public static string Label_Prompt { + /// + /// Looks up a localized string similar to VAE. + /// + public static string Label_VAE { get { - return ResourceManager.GetString("Label_Prompt", resourceCulture); + return ResourceManager.GetString("Label_VAE", resourceCulture); } } - public static string Label_OutputImageFiles { + /// + /// Looks up a localized string similar to Version. + /// + public static string Label_Version { get { - return ResourceManager.GetString("Label_OutputImageFiles", resourceCulture); + return ResourceManager.GetString("Label_Version", resourceCulture); } } - public static string Label_ImageViewer { + /// + /// Looks up a localized string similar to Version Type. + /// + public static string Label_VersionType { get { - return ResourceManager.GetString("Label_ImageViewer", resourceCulture); + return ResourceManager.GetString("Label_VersionType", resourceCulture); } } - public static string Label_AutoCompletion { + /// + /// Looks up a localized string similar to Method. + /// + public static string Label_VideoOutputMethod { get { - return ResourceManager.GetString("Label_AutoCompletion", resourceCulture); + return ResourceManager.GetString("Label_VideoOutputMethod", resourceCulture); } } - public static string Label_CompletionReplaceUnderscoresWithSpaces { + /// + /// Looks up a localized string similar to Quality. + /// + public static string Label_VideoQuality { get { - return ResourceManager.GetString("Label_CompletionReplaceUnderscoresWithSpaces", resourceCulture); + return ResourceManager.GetString("Label_VideoQuality", resourceCulture); } } - public static string Label_PromptTags { + /// + /// Looks up a localized string similar to Waiting to connect.... + /// + public static string Label_WaitingToConnectEllipsis { get { - return ResourceManager.GetString("Label_PromptTags", resourceCulture); + return ResourceManager.GetString("Label_WaitingToConnectEllipsis", resourceCulture); } } - public static string Label_PromptTagsImport { + /// + /// Looks up a localized string similar to Width. + /// + public static string Label_Width { get { - return ResourceManager.GetString("Label_PromptTagsImport", resourceCulture); + return ResourceManager.GetString("Label_Width", resourceCulture); } } - public static string Label_PromptTagsDescription { + /// + /// Looks up a localized string similar to Not yet available. + /// + public static string Label_WipFeature { get { - return ResourceManager.GetString("Label_PromptTagsDescription", resourceCulture); + return ResourceManager.GetString("Label_WipFeature", resourceCulture); } } - public static string Label_SystemInformation { + /// + /// Looks up a localized string similar to Feature will be available in a future update. + /// + public static string Label_WipFeatureDescription { get { - return ResourceManager.GetString("Label_SystemInformation", resourceCulture); + return ResourceManager.GetString("Label_WipFeatureDescription", resourceCulture); } } - public static string Label_CivitAi { + /// + /// Looks up a localized string similar to You're up to date. + /// + public static string Label_YouAreUpToDate { get { - return ResourceManager.GetString("Label_CivitAi", resourceCulture); + return ResourceManager.GetString("Label_YouAreUpToDate", resourceCulture); } } - public static string Label_HuggingFace { + /// + /// Looks up a localized string similar to Download complete. + /// + public static string Progress_DownloadComplete { get { - return ResourceManager.GetString("Label_HuggingFace", resourceCulture); + return ResourceManager.GetString("Progress_DownloadComplete", resourceCulture); } } - public static string Label_Addons { + /// + /// Looks up a localized string similar to Downloading package.... + /// + public static string Progress_DownloadingPackage { get { - return ResourceManager.GetString("Label_Addons", resourceCulture); + return ResourceManager.GetString("Progress_DownloadingPackage", resourceCulture); } } - public static string Label_SaveIntermediateImage { + /// + /// Looks up a localized string similar to Installation complete. + /// + public static string Progress_InstallationComplete { get { - return ResourceManager.GetString("Label_SaveIntermediateImage", resourceCulture); + return ResourceManager.GetString("Progress_InstallationComplete", resourceCulture); } } - public static string Label_Settings { + /// + /// Looks up a localized string similar to Installing package requirements.... + /// + public static string Progress_InstallingPackageRequirements { get { - return ResourceManager.GetString("Label_Settings", resourceCulture); + return ResourceManager.GetString("Progress_InstallingPackageRequirements", resourceCulture); } } - public static string Action_SelectFile { + /// + /// Looks up a localized string similar to Installing prerequisites.... + /// + public static string Progress_InstallingPrerequisites { get { - return ResourceManager.GetString("Action_SelectFile", resourceCulture); + return ResourceManager.GetString("Progress_InstallingPrerequisites", resourceCulture); } } - public static string Action_ReplaceContents { + /// + /// Looks up a localized string similar to Uninstalling package.... + /// + public static string Progress_UninstallingPackage { get { - return ResourceManager.GetString("Action_ReplaceContents", resourceCulture); + return ResourceManager.GetString("Progress_UninstallingPackage", resourceCulture); } } - public static string Label_WipFeature { + /// + /// Looks up a localized string similar to Update complete. + /// + public static string Progress_UpdateComplete { get { - return ResourceManager.GetString("Label_WipFeature", resourceCulture); + return ResourceManager.GetString("Progress_UpdateComplete", resourceCulture); } } - public static string Label_WipFeatureDescription { + /// + /// Looks up a localized string similar to Update failed. + /// + public static string Progress_UpdateFailed { get { - return ResourceManager.GetString("Label_WipFeatureDescription", resourceCulture); + return ResourceManager.GetString("Progress_UpdateFailed", resourceCulture); } } - public static string Label_MissingImageFile { + /// + /// Looks up a localized string similar to Add a package to get started!. + /// + public static string TeachingTip_AddPackageToGetStarted { get { - return ResourceManager.GetString("Label_MissingImageFile", resourceCulture); + return ResourceManager.GetString("TeachingTip_AddPackageToGetStarted", resourceCulture); } } - public static string Label_HolidayMode { + /// + /// Looks up a localized string similar to Click Launch to get started!. + /// + public static string TeachingTip_ClickLaunchToGetStarted { get { - return ResourceManager.GetString("Label_HolidayMode", resourceCulture); + return ResourceManager.GetString("TeachingTip_ClickLaunchToGetStarted", resourceCulture); } } - public static string Label_CLIPSkip { + /// + /// Looks up a localized string similar to Additional folders such as IPAdapters and TextualInversions (embeddings) can be enabled here. + /// + public static string TeachingTip_MoreCheckpointCategories { get { - return ResourceManager.GetString("Label_CLIPSkip", resourceCulture); + return ResourceManager.GetString("TeachingTip_MoreCheckpointCategories", resourceCulture); } } - public static string Label_ImageToVideo { + /// + /// Looks up a localized string similar to The app will relaunch after updating. + /// + public static string Text_AppWillRelaunchAfterUpdate { get { - return ResourceManager.GetString("Label_ImageToVideo", resourceCulture); + return ResourceManager.GetString("Text_AppWillRelaunchAfterUpdate", resourceCulture); } } - public static string Label_Fps { + /// + /// Looks up a localized string similar to Choose your preferred interface and click Install to get started. + /// + public static string Text_OneClickInstaller_SubHeader { get { - return ResourceManager.GetString("Label_Fps", resourceCulture); + return ResourceManager.GetString("Text_OneClickInstaller_SubHeader", resourceCulture); } } - public static string Label_MinCfg { + /// + /// Looks up a localized string similar to This will delete the package folder and all its contents, including any generated images and files you may have added.. + /// + public static string Text_PackageUninstall_Details { get { - return ResourceManager.GetString("Label_MinCfg", resourceCulture); + return ResourceManager.GetString("Text_PackageUninstall_Details", resourceCulture); } } - public static string Label_Lossless { + /// + /// Looks up a localized string similar to Proceeding to Launch page. + /// + public static string Text_ProceedingToLaunchPage { get { - return ResourceManager.GetString("Label_Lossless", resourceCulture); + return ResourceManager.GetString("Text_ProceedingToLaunchPage", resourceCulture); } } - public static string Label_Frames { + /// + /// Looks up a localized string similar to Relaunch is required for new language option to take effect. + /// + public static string Text_RelaunchRequiredToApplyLanguage { get { - return ResourceManager.GetString("Label_Frames", resourceCulture); + return ResourceManager.GetString("Text_RelaunchRequiredToApplyLanguage", resourceCulture); } } - public static string Label_MotionBucketId { + /// + /// Looks up a localized string similar to Some files could not be deleted. Please close any open files in the package directory and try again.. + /// + public static string Text_SomeFilesCouldNotBeDeleted { get { - return ResourceManager.GetString("Label_MotionBucketId", resourceCulture); + return ResourceManager.GetString("Text_SomeFilesCouldNotBeDeleted", resourceCulture); } } - public static string Label_AugmentationLevel { + /// + /// Looks up a localized string similar to Welcome to Stability Matrix!. + /// + public static string Text_WelcomeToStabilityMatrix { get { - return ResourceManager.GetString("Label_AugmentationLevel", resourceCulture); + return ResourceManager.GetString("Text_WelcomeToStabilityMatrix", resourceCulture); } } - public static string Label_VideoOutputMethod { + /// + /// Looks up a localized string similar to Error updating {0}. + /// + public static string TextTemplate_ErrorUpdatingPackage { get { - return ResourceManager.GetString("Label_VideoOutputMethod", resourceCulture); + return ResourceManager.GetString("TextTemplate_ErrorUpdatingPackage", resourceCulture); } } - public static string Label_VideoQuality { + /// + /// Looks up a localized string similar to Last checked: {0}. + /// + public static string TextTemplate_LastChecked { get { - return ResourceManager.GetString("Label_VideoQuality", resourceCulture); + return ResourceManager.GetString("TextTemplate_LastChecked", resourceCulture); } } - public static string Label_FindInModelBrowser { + /// + /// Looks up a localized string similar to {0} has been updated to the latest version. + /// + public static string TextTemplate_PackageUpdatedToLatest { get { - return ResourceManager.GetString("Label_FindInModelBrowser", resourceCulture); + return ResourceManager.GetString("TextTemplate_PackageUpdatedToLatest", resourceCulture); } } - public static string Label_Installed { + /// + /// Looks up a localized string similar to Updating {0}. + /// + public static string TextTemplate_UpdatingPackage { get { - return ResourceManager.GetString("Label_Installed", resourceCulture); + return ResourceManager.GetString("TextTemplate_UpdatingPackage", resourceCulture); } } } diff --git a/StabilityMatrix.Avalonia/Languages/Resources.fr-FR.resx b/StabilityMatrix.Avalonia/Languages/Resources.fr-FR.resx index 0ff36a23..f971db52 100644 --- a/StabilityMatrix.Avalonia/Languages/Resources.fr-FR.resx +++ b/StabilityMatrix.Avalonia/Languages/Resources.fr-FR.resx @@ -142,7 +142,7 @@ Relancer plus tard - Relance nécessaire + Relancement nécessaire Paquet inconnu @@ -250,7 +250,7 @@ Une erreur inattendue s'est produite - Demande de sortie + Quitter l'application Nom d'affichage @@ -678,4 +678,186 @@ Rétablir la présentation par défaut + + Partager des générations + + + Copier + + + Ouvrir dans la visionneuse d'images + + + {0} images sélectionnées + + + Dossier + Hey hey :) is this used somewhere else ? if it's only inside the "output browser", I suggest to remove "output" from translation, but you're the boss, lmk :) + + + Type + + + Annuler la sélection + + + Sélectionner tout + + + Envoyer à l'inférence + + + Texte vers image + + + Image vers image + + + Amélioration de qualité + + + Explorateur des générations + + + 1 image sélectionnée + + + Paquets Python + + + Consolider + + + Êtes-vous sure ? + + + Cela déplacera toutes les images générées des packages sélectionnés vers le répertoire consolidé du dossier de sorties partagées. Cette action ne peut pas être annulée. + + + Rafraichir + + + Passer à la version supérieure + What is this related to ? + + + Passer à la version inférieure + What is this related to ? + + + Ouvrir sur GitHub + + + Connecté + + + Se déconnecter + + + Email + + + Nom d'utilisateur + + + Mot de passe + + + Ouvrir une session + + + S'enregistrer + + + Confirmer le mot de passe + + + Clé d'API + + + Comptes + + + Préprocesseur + + + Force + + + Vous devez être loggué pour télécharger ce checkpoint. Veuillez entrer une clé d'API CivitAI dans les paramètres. + + + Echec du téléchargement + + + Mises à jour automatiques + + + Mises à jour + + + Vous êtes à jour + + + Dernière vérification: {0} + + + Ouvrir sur Hugging Face + + + Mettre à jour les métadonnées existantes + + + Générale + A general settings category + + + Informations système + + + CivitAI + + + Hugging Face + + + Modules complémentaires + Inference Sampler Addons + + + Paramètres + + + Sélectionner un fichier + + + Remplacer des contenus + + + Pas encore disponible + + + Fonctionnalité disponible dans une mise à jour future + + + Fichier image manquant + + + Image vers vidéo + + + Images par seconde + + + CFG Min + + + Sans perte + + + Méthode + + + Qualité + \ No newline at end of file diff --git a/StabilityMatrix.Avalonia/Languages/Resources.resx b/StabilityMatrix.Avalonia/Languages/Resources.resx index 41521a7e..9a64e94f 100644 --- a/StabilityMatrix.Avalonia/Languages/Resources.resx +++ b/StabilityMatrix.Avalonia/Languages/Resources.resx @@ -933,4 +933,7 @@ Installed + + No extensions found. + diff --git a/StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj b/StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj index 51fd37cc..1e6b71d0 100644 --- a/StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj +++ b/StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj @@ -32,19 +32,19 @@ - + - - - + + + - + - - - - - + + + + + @@ -55,9 +55,9 @@ - - - + + + @@ -68,17 +68,17 @@ - + - - + + - + - + diff --git a/StabilityMatrix.Avalonia/Styles/ControlThemes/BetterComboBoxStyles.axaml b/StabilityMatrix.Avalonia/Styles/ControlThemes/BetterComboBoxStyles.axaml index e2e71476..7565401b 100644 --- a/StabilityMatrix.Avalonia/Styles/ControlThemes/BetterComboBoxStyles.axaml +++ b/StabilityMatrix.Avalonia/Styles/ControlThemes/BetterComboBoxStyles.axaml @@ -2,7 +2,7 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:StabilityMatrix.Avalonia.Controls" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" xmlns:mocks="using:StabilityMatrix.Avalonia.DesignData" xmlns:models="clr-namespace:StabilityMatrix.Core.Models;assembly=StabilityMatrix.Core" xmlns:sg="clr-namespace:SpacedGridControl.Avalonia;assembly=SpacedGridControl.Avalonia" diff --git a/StabilityMatrix.Avalonia/Styles/ControlThemes/HyperlinkIconButtonStyles.axaml b/StabilityMatrix.Avalonia/Styles/ControlThemes/HyperlinkIconButtonStyles.axaml index 87b06b98..e49ef754 100644 --- a/StabilityMatrix.Avalonia/Styles/ControlThemes/HyperlinkIconButtonStyles.axaml +++ b/StabilityMatrix.Avalonia/Styles/ControlThemes/HyperlinkIconButtonStyles.axaml @@ -2,7 +2,7 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:StabilityMatrix.Avalonia.Controls" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" xmlns:ui="using:FluentAvalonia.UI.Controls"> diff --git a/StabilityMatrix.Avalonia/Styles/FAComboBoxStyles.axaml b/StabilityMatrix.Avalonia/Styles/FAComboBoxStyles.axaml index d0c54b78..55d68fd3 100644 --- a/StabilityMatrix.Avalonia/Styles/FAComboBoxStyles.axaml +++ b/StabilityMatrix.Avalonia/Styles/FAComboBoxStyles.axaml @@ -2,7 +2,7 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:StabilityMatrix.Avalonia.Controls" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" xmlns:mocks="using:StabilityMatrix.Avalonia.DesignData" xmlns:models="clr-namespace:StabilityMatrix.Core.Models;assembly=StabilityMatrix.Core" xmlns:sg="clr-namespace:SpacedGridControl.Avalonia;assembly=SpacedGridControl.Avalonia" diff --git a/StabilityMatrix.Avalonia/ViewModels/CheckpointBrowserViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/CheckpointBrowserViewModel.cs index 051bd795..fd2ccc1f 100644 --- a/StabilityMatrix.Avalonia/ViewModels/CheckpointBrowserViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/CheckpointBrowserViewModel.cs @@ -12,7 +12,7 @@ using StabilityMatrix.Avalonia.Views; using StabilityMatrix.Core.Attributes; using StabilityMatrix.Core.Helper; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels; diff --git a/StabilityMatrix.Avalonia/ViewModels/CheckpointsPageViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/CheckpointsPageViewModel.cs index 8639c210..f5bc68b9 100644 --- a/StabilityMatrix.Avalonia/ViewModels/CheckpointsPageViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/CheckpointsPageViewModel.cs @@ -26,7 +26,7 @@ using StabilityMatrix.Core.Models.Progress; using StabilityMatrix.Core.Processes; using StabilityMatrix.Core.Services; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; using TeachingTip = StabilityMatrix.Core.Models.Settings.TeachingTip; namespace StabilityMatrix.Avalonia.ViewModels; diff --git a/StabilityMatrix.Avalonia/ViewModels/ExtensionViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/ExtensionViewModel.cs index b03988a5..d1a7660f 100644 --- a/StabilityMatrix.Avalonia/ViewModels/ExtensionViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/ExtensionViewModel.cs @@ -4,7 +4,7 @@ using StabilityMatrix.Core.Models.Packages.Extensions; namespace StabilityMatrix.Avalonia.ViewModels; -public partial class ExtensionViewModel() : ViewModelBase +public partial class ExtensionViewModel : ViewModelBase { [ObservableProperty] private bool isSelected; diff --git a/StabilityMatrix.Avalonia/ViewModels/InferenceViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/InferenceViewModel.cs index 3662f452..c36fa128 100644 --- a/StabilityMatrix.Avalonia/ViewModels/InferenceViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/InferenceViewModel.cs @@ -35,7 +35,7 @@ using StabilityMatrix.Core.Services; using InferenceTabViewModelBase = StabilityMatrix.Avalonia.ViewModels.Base.InferenceTabViewModelBase; using Path = System.IO.Path; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels; diff --git a/StabilityMatrix.Avalonia/ViewModels/LaunchPageViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/LaunchPageViewModel.cs index b9ed79ab..4509831b 100644 --- a/StabilityMatrix.Avalonia/ViewModels/LaunchPageViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/LaunchPageViewModel.cs @@ -35,7 +35,7 @@ using StabilityMatrix.Core.Processes; using StabilityMatrix.Core.Python; using StabilityMatrix.Core.Services; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels; @@ -58,8 +58,7 @@ public partial class LaunchPageViewModel : PageViewModelBase, IDisposable, IAsyn private static partial Regex InputYesNoRegex(); public override string Title => "Launch"; - public override IconSource IconSource => - new SymbolIconSource { Symbol = Symbol.Rocket, IsFilled = true }; + public override IconSource IconSource => new SymbolIconSource { Symbol = Symbol.Rocket, IsFilled = true }; public ConsoleViewModel Console { get; } = new(); @@ -154,8 +153,7 @@ public partial class LaunchPageViewModel : PageViewModelBase, IDisposable, IAsyn }; } - private void OnTeachingTooltipNeeded(object? sender, EventArgs e) => - IsLaunchTeachingTipsOpen = true; + private void OnTeachingTooltipNeeded(object? sender, EventArgs e) => IsLaunchTeachingTipsOpen = true; private void OnInstalledPackagesChanged(object? sender, EventArgs e) => OnLoaded(); @@ -353,9 +351,7 @@ public partial class LaunchPageViewModel : PageViewModelBase, IDisposable, IAsyn // Open a config page var userLaunchArgs = settingsManager.GetLaunchArgs(activeInstall.Id); var viewModel = dialogFactory.Get(); - viewModel.Cards = LaunchOptionCard - .FromDefinitions(definitions, userLaunchArgs) - .ToImmutableArray(); + viewModel.Cards = LaunchOptionCard.FromDefinitions(definitions, userLaunchArgs).ToImmutableArray(); logger.LogDebug("Launching config dialog with cards: {CardsCount}", viewModel.Cards.Count); @@ -454,14 +450,10 @@ public partial class LaunchPageViewModel : PageViewModelBase, IDisposable, IAsyn private void OnProcessExited(object? sender, int exitCode) { EventManager.Instance.OnRunningPackageStatusChanged(null); - Dispatcher.UIThread - .InvokeAsync(async () => + Dispatcher + .UIThread.InvokeAsync(async () => { - logger.LogTrace( - "Process exited ({Code}) at {Time:g}", - exitCode, - DateTimeOffset.Now - ); + logger.LogTrace("Process exited ({Code}) at {Time:g}", exitCode, DateTimeOffset.Now); // Need to wait for streams to finish before detaching handlers if (sender is BaseGitPackage { VenvRunner: not null } package) @@ -477,10 +469,7 @@ public partial class LaunchPageViewModel : PageViewModelBase, IDisposable, IAsyn } catch (OperationCanceledException e) { - logger.LogWarning( - "Waiting for process EOF timed out: {Message}", - e.Message - ); + logger.LogWarning("Waiting for process EOF timed out: {Message}", e.Message); } } } @@ -499,9 +488,7 @@ public partial class LaunchPageViewModel : PageViewModelBase, IDisposable, IAsyn // Need to reset cursor in case its in some weird position // from progress bars await Console.ResetWriteCursor(); - Console.PostLine( - $"{Environment.NewLine}Process finished with exit code {exitCode}" - ); + Console.PostLine($"{Environment.NewLine}Process finished with exit code {exitCode}"); }) .SafeFireAndForget(); } @@ -538,8 +525,8 @@ public partial class LaunchPageViewModel : PageViewModelBase, IDisposable, IAsyn e.Cancel = true; var dialog = CreateExitConfirmDialog(); - Dispatcher.UIThread - .InvokeAsync(async () => + Dispatcher + .UIThread.InvokeAsync(async () => { if ( (TaskDialogStandardResult)await dialog.ShowAsync(true) diff --git a/StabilityMatrix.Avalonia/ViewModels/NewCheckpointsPageViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/NewCheckpointsPageViewModel.cs index e9741284..45ea5ed0 100644 --- a/StabilityMatrix.Avalonia/ViewModels/NewCheckpointsPageViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/NewCheckpointsPageViewModel.cs @@ -29,7 +29,7 @@ using StabilityMatrix.Core.Models; using StabilityMatrix.Core.Models.Api; using StabilityMatrix.Core.Services; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels; diff --git a/StabilityMatrix.Avalonia/ViewModels/NewPackageManagerViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/NewPackageManagerViewModel.cs index 0cd0e689..d900f2bc 100644 --- a/StabilityMatrix.Avalonia/ViewModels/NewPackageManagerViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/NewPackageManagerViewModel.cs @@ -10,7 +10,7 @@ using StabilityMatrix.Avalonia.ViewModels.PackageManager; using StabilityMatrix.Avalonia.Views; using StabilityMatrix.Core.Attributes; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels; diff --git a/StabilityMatrix.Avalonia/ViewModels/OutputsPageViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/OutputsPageViewModel.cs index f1186751..95cd86ec 100644 --- a/StabilityMatrix.Avalonia/ViewModels/OutputsPageViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/OutputsPageViewModel.cs @@ -39,7 +39,7 @@ using StabilityMatrix.Core.Processes; using StabilityMatrix.Core.Services; using Size = StabilityMatrix.Core.Models.Settings.Size; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels; diff --git a/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageExtensionBrowserViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageExtensionBrowserViewModel.cs index b9ce8cae..9aa2e6fc 100644 --- a/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageExtensionBrowserViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageExtensionBrowserViewModel.cs @@ -46,6 +46,7 @@ public partial class PackageExtensionBrowserViewModel : ViewModelBase, IDisposab public PackagePair? PackagePair { get; set; } [ObservableProperty] + [NotifyPropertyChangedFor(nameof(ShowNoExtensionsFoundMessage))] private bool isLoading; private SourceCache availableExtensionsSource = @@ -78,6 +79,9 @@ public partial class PackageExtensionBrowserViewModel : ViewModelBase, IDisposab public IObservableCollection InstalledExtensions { get; } = new ObservableCollectionExtended(); + [ObservableProperty] + private bool showNoExtensionsFoundMessage; + public PackageExtensionBrowserViewModel( INotificationService notificationService, ISettingsManager settingsManager, @@ -316,6 +320,7 @@ public partial class PackageExtensionBrowserViewModel : ViewModelBase, IDisposab finally { IsLoading = false; + ShowNoExtensionsFoundMessage = AvailableItemsSearchCollection.FilteredItems.Count == 0; } } diff --git a/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageInstallDetailViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageInstallDetailViewModel.cs index cd6f9262..d6e9e0ef 100644 --- a/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageInstallDetailViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/PackageManager/PackageInstallDetailViewModel.cs @@ -26,7 +26,7 @@ using StabilityMatrix.Core.Models.Packages; using StabilityMatrix.Core.Python; using StabilityMatrix.Core.Services; using PackageInstallDetailView = StabilityMatrix.Avalonia.Views.PackageManager.PackageInstallDetailView; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels.PackageManager; diff --git a/StabilityMatrix.Avalonia/ViewModels/PackageManagerViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/PackageManagerViewModel.cs index 3fc0b95e..019b6c3e 100644 --- a/StabilityMatrix.Avalonia/ViewModels/PackageManagerViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/PackageManagerViewModel.cs @@ -30,7 +30,7 @@ using StabilityMatrix.Core.Models.PackageModification; using StabilityMatrix.Core.Models.Packages; using StabilityMatrix.Core.Services; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels; diff --git a/StabilityMatrix.Avalonia/ViewModels/Progress/ProgressManagerViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Progress/ProgressManagerViewModel.cs index c0633697..90c9d5cc 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Progress/ProgressManagerViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Progress/ProgressManagerViewModel.cs @@ -23,7 +23,7 @@ using StabilityMatrix.Core.Models.PackageModification; using StabilityMatrix.Core.Models.Progress; using StabilityMatrix.Core.Services; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels.Progress; @@ -61,10 +61,7 @@ public partial class ProgressManagerViewModel : PageViewModelBase EventManager.Instance.ToggleProgressFlyout += (_, _) => IsOpen = !IsOpen; } - private void InstanceOnPackageInstallProgressAdded( - object? sender, - IPackageModificationRunner runner - ) + private void InstanceOnPackageInstallProgressAdded(object? sender, IPackageModificationRunner runner) { AddPackageInstall(runner).SafeFireAndForget(); } @@ -181,9 +178,7 @@ public partial class ProgressManagerViewModel : PageViewModelBase ); ProgressItems.Add(vm); - return packageModificationRunner.ShowDialogOnStart - ? vm.ShowProgressDialog() - : Task.CompletedTask; + return packageModificationRunner.ShowDialogOnStart ? vm.ShowProgressDialog() : Task.CompletedTask; } private void ShowFailedNotification(string title, string message) diff --git a/StabilityMatrix.Avalonia/ViewModels/Settings/AccountSettingsViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Settings/AccountSettingsViewModel.cs index 15cdf372..def248c3 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Settings/AccountSettingsViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Settings/AccountSettingsViewModel.cs @@ -23,7 +23,7 @@ using StabilityMatrix.Core.Models.Api.Lykos; using StabilityMatrix.Core.Processes; using StabilityMatrix.Core.Services; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; using TeachingTip = StabilityMatrix.Core.Models.Settings.TeachingTip; namespace StabilityMatrix.Avalonia.ViewModels.Settings; @@ -42,8 +42,7 @@ public partial class AccountSettingsViewModel : PageViewModelBase public override string Title => "Accounts"; /// - public override IconSource IconSource => - new SymbolIconSource { Symbol = Symbol.Person, IsFilled = true }; + public override IconSource IconSource => new SymbolIconSource { Symbol = Symbol.Person, IsFilled = true }; [ObservableProperty] [NotifyCanExecuteChangedFor(nameof(ConnectLykosCommand))] @@ -59,12 +58,10 @@ public partial class AccountSettingsViewModel : PageViewModelBase [ObservableProperty] [NotifyPropertyChangedFor(nameof(LykosProfileImageUrl))] - private LykosAccountStatusUpdateEventArgs lykosStatus = - LykosAccountStatusUpdateEventArgs.Disconnected; + private LykosAccountStatusUpdateEventArgs lykosStatus = LykosAccountStatusUpdateEventArgs.Disconnected; [ObservableProperty] - private CivitAccountStatusUpdateEventArgs civitStatus = - CivitAccountStatusUpdateEventArgs.Disconnected; + private CivitAccountStatusUpdateEventArgs civitStatus = CivitAccountStatusUpdateEventArgs.Disconnected; public AccountSettingsViewModel( IAccountsService accountsService, @@ -116,11 +113,7 @@ public partial class AccountSettingsViewModel : PageViewModelBase private async Task BeforeConnectCheck() { // Show credentials storage notice if not seen - if ( - !settingsManager.Settings.SeenTeachingTips.Contains( - TeachingTip.AccountsCredentialsStorageNotice - ) - ) + if (!settingsManager.Settings.SeenTeachingTips.Contains(TeachingTip.AccountsCredentialsStorageNotice)) { var dialog = new BetterContentDialog { @@ -242,10 +235,7 @@ public partial class AccountSettingsViewModel : PageViewModelBase ); dialog.PrimaryButtonText = Resources.Action_Connect; - if ( - await dialog.ShowAsync() != ContentDialogResult.Primary - || textFields[0].Text is not { } apiToken - ) + if (await dialog.ShowAsync() != ContentDialogResult.Primary || textFields[0].Text is not { } apiToken) { return; } diff --git a/StabilityMatrix.Avalonia/ViewModels/Settings/InferenceSettingsViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Settings/InferenceSettingsViewModel.cs index 6f3c3c4c..290bed3c 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Settings/InferenceSettingsViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Settings/InferenceSettingsViewModel.cs @@ -24,7 +24,7 @@ using StabilityMatrix.Core.Models.FileInterfaces; using StabilityMatrix.Core.Python; using StabilityMatrix.Core.Services; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels.Settings; @@ -40,7 +40,8 @@ public partial class InferenceSettingsViewModel : PageViewModelBase public override string Title => "Inference"; /// - public override IconSource IconSource => new SymbolIconSource { Symbol = Symbol.Settings, IsFilled = true }; + public override IconSource IconSource => + new SymbolIconSource { Symbol = Symbol.Settings, IsFilled = true }; [ObservableProperty] private bool isPromptCompletionEnabled = true; @@ -64,8 +65,9 @@ public partial class InferenceSettingsViewModel : PageViewModelBase public IEnumerable OutputImageFileNameFormatVars => FileNameFormatProvider .GetSample() - .Substitutions - .Select(kv => new FileNameFormatVar { Variable = $"{{{kv.Key}}}", Example = kv.Value.Invoke() }); + .Substitutions.Select( + kv => new FileNameFormatVar { Variable = $"{{{kv.Key}}}", Example = kv.Value.Invoke() } + ); [ObservableProperty] private bool isImageViewerPixelGridEnabled = true; @@ -114,7 +116,10 @@ public partial class InferenceSettingsViewModel : PageViewModelBase var provider = FileNameFormatProvider.GetSample(); var template = formatProperty.Value ?? string.Empty; - if (!string.IsNullOrEmpty(template) && provider.Validate(template) == ValidationResult.Success) + if ( + !string.IsNullOrEmpty(template) + && provider.Validate(template) == ValidationResult.Success + ) { var format = FileNameFormat.Parse(template, provider); OutputImageFileNameFormatSample = format.GetFileName() + ".png"; @@ -147,7 +152,10 @@ public partial class InferenceSettingsViewModel : PageViewModelBase /// /// Validator for /// - public static ValidationResult ValidateOutputImageFileNameFormat(string? format, ValidationContext context) + public static ValidationResult ValidateOutputImageFileNameFormat( + string? format, + ValidationContext context + ) { return FileNameFormatProvider.GetSample().Validate(format ?? string.Empty); } diff --git a/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs index 97cad1f0..08c37695 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs @@ -55,7 +55,7 @@ using StabilityMatrix.Core.Processes; using StabilityMatrix.Core.Python; using StabilityMatrix.Core.Services; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels.Settings; diff --git a/StabilityMatrix.Avalonia/ViewModels/Settings/UpdateSettingsViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Settings/UpdateSettingsViewModel.cs index ff7a263d..a0babde0 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Settings/UpdateSettingsViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Settings/UpdateSettingsViewModel.cs @@ -21,7 +21,7 @@ using StabilityMatrix.Core.Processes; using StabilityMatrix.Core.Services; using StabilityMatrix.Core.Updater; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels.Settings; @@ -111,9 +111,7 @@ public partial class UpdateSettingsViewModel : PageViewModelBase var isBetaChannelsEnabled = args.User?.IsActiveSupporter == true; foreach ( - var card in AvailableUpdateChannelCards.Where( - c => c.UpdateChannel > UpdateChannel.Stable - ) + var card in AvailableUpdateChannelCards.Where(c => c.UpdateChannel > UpdateChannel.Stable) ) { card.IsSelectable = isBetaChannelsEnabled; @@ -169,8 +167,8 @@ public partial class UpdateSettingsViewModel : PageViewModelBase public void ShowLoginRequiredDialog() { - Dispatcher.UIThread - .InvokeAsync(async () => + Dispatcher + .UIThread.InvokeAsync(async () => { var dialog = DialogHelper.CreateTaskDialog( "Become a Supporter", @@ -214,7 +212,8 @@ public partial class UpdateSettingsViewModel : PageViewModelBase // Use maximum version from platforms equal or lower than current foreach (var card in AvailableUpdateChannelCards) { - card.LatestVersion = value?.UpdateChannels + card.LatestVersion = value + ?.UpdateChannels .Where(kv => kv.Key <= card.UpdateChannel) .Select(kv => kv.Value) .MaxBy(info => info.Version, SemVersion.PrecedenceComparer) diff --git a/StabilityMatrix.Avalonia/ViewModels/SettingsViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/SettingsViewModel.cs index 70f221be..f1245814 100644 --- a/StabilityMatrix.Avalonia/ViewModels/SettingsViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/SettingsViewModel.cs @@ -9,7 +9,7 @@ using StabilityMatrix.Avalonia.ViewModels.Settings; using StabilityMatrix.Avalonia.Views; using StabilityMatrix.Core.Attributes; using Symbol = FluentIcons.Common.Symbol; -using SymbolIconSource = FluentIcons.FluentAvalonia.SymbolIconSource; +using SymbolIconSource = FluentIcons.Avalonia.Fluent.SymbolIconSource; namespace StabilityMatrix.Avalonia.ViewModels; @@ -18,7 +18,8 @@ namespace StabilityMatrix.Avalonia.ViewModels; public partial class SettingsViewModel : PageViewModelBase { public override string Title => "Settings"; - public override IconSource IconSource => new SymbolIconSource { Symbol = Symbol.Settings, IsFilled = true }; + public override IconSource IconSource => + new SymbolIconSource { Symbol = Symbol.Settings, IsFilled = true }; public IReadOnlyList SubPages { get; } diff --git a/StabilityMatrix.Avalonia/Views/Dialogs/PythonPackagesDialog.axaml b/StabilityMatrix.Avalonia/Views/Dialogs/PythonPackagesDialog.axaml index bb7dddda..242ef7d2 100644 --- a/StabilityMatrix.Avalonia/Views/Dialogs/PythonPackagesDialog.axaml +++ b/StabilityMatrix.Avalonia/Views/Dialogs/PythonPackagesDialog.axaml @@ -15,7 +15,7 @@ xmlns:vm="clr-namespace:StabilityMatrix.Avalonia.ViewModels" xmlns:vmDialogs="clr-namespace:StabilityMatrix.Avalonia.ViewModels.Dialogs" xmlns:mdxaml="https://github.com/whistyun/Markdown.Avalonia.Tight" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" xmlns:input="clr-namespace:FluentAvalonia.UI.Input;assembly=FluentAvalonia" d:DataContext="{x:Static mocks:DesignData.PythonPackagesViewModel}" d:DesignHeight="450" diff --git a/StabilityMatrix.Avalonia/Views/Dialogs/SelectModelVersionDialog.axaml b/StabilityMatrix.Avalonia/Views/Dialogs/SelectModelVersionDialog.axaml index f118e90e..e53b82f0 100644 --- a/StabilityMatrix.Avalonia/Views/Dialogs/SelectModelVersionDialog.axaml +++ b/StabilityMatrix.Avalonia/Views/Dialogs/SelectModelVersionDialog.axaml @@ -7,7 +7,7 @@ xmlns:designData="clr-namespace:StabilityMatrix.Avalonia.DesignData" mc:Ignorable="d" d:DesignWidth="700" d:DesignHeight="850" x:DataType="dialogs:SelectModelVersionViewModel" - xmlns:fluentAvalonia="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentAvalonia="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" xmlns:models="clr-namespace:StabilityMatrix.Avalonia.Models" xmlns:avalonia="clr-namespace:Projektanker.Icons.Avalonia;assembly=Projektanker.Icons.Avalonia" xmlns:lang="clr-namespace:StabilityMatrix.Avalonia.Languages" diff --git a/StabilityMatrix.Avalonia/Views/Dialogs/UpdateDialog.axaml b/StabilityMatrix.Avalonia/Views/Dialogs/UpdateDialog.axaml index 51e6f43c..00bea397 100644 --- a/StabilityMatrix.Avalonia/Views/Dialogs/UpdateDialog.axaml +++ b/StabilityMatrix.Avalonia/Views/Dialogs/UpdateDialog.axaml @@ -8,7 +8,7 @@ xmlns:controls="clr-namespace:StabilityMatrix.Avalonia.Controls" xmlns:mdxaml="https://github.com/whistyun/Markdown.Avalonia.Tight" xmlns:lang="clr-namespace:StabilityMatrix.Avalonia.Languages" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" d:DataContext="{x:Static mocks:DesignData.UpdateViewModel}" x:DataType="dialogs:UpdateViewModel" mc:Ignorable="d" d:DesignWidth="700" d:DesignHeight="550" diff --git a/StabilityMatrix.Avalonia/Views/InferencePage.axaml b/StabilityMatrix.Avalonia/Views/InferencePage.axaml index c1a8a74f..f8e38599 100644 --- a/StabilityMatrix.Avalonia/Views/InferencePage.axaml +++ b/StabilityMatrix.Avalonia/Views/InferencePage.axaml @@ -5,7 +5,7 @@ xmlns:controls="clr-namespace:StabilityMatrix.Avalonia.Controls" xmlns:converters="clr-namespace:StabilityMatrix.Avalonia.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:fluentIcons="using:FluentIcons.FluentAvalonia" + xmlns:fluentIcons="using:FluentIcons.Avalonia.Fluent" xmlns:icons="clr-namespace:Projektanker.Icons.Avalonia;assembly=Projektanker.Icons.Avalonia" xmlns:lang="clr-namespace:StabilityMatrix.Avalonia.Languages" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" diff --git a/StabilityMatrix.Avalonia/Views/MainWindow.axaml b/StabilityMatrix.Avalonia/Views/MainWindow.axaml index 6e51fafe..1480f64f 100644 --- a/StabilityMatrix.Avalonia/Views/MainWindow.axaml +++ b/StabilityMatrix.Avalonia/Views/MainWindow.axaml @@ -9,7 +9,7 @@ xmlns:controls="clr-namespace:StabilityMatrix.Avalonia.Controls" xmlns:base="clr-namespace:StabilityMatrix.Avalonia.ViewModels.Base" xmlns:lang="clr-namespace:StabilityMatrix.Avalonia.Languages" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="550" d:DataContext="{x:Static mocks:DesignData.MainWindowViewModel}" x:DataType="vm:MainWindowViewModel" diff --git a/StabilityMatrix.Avalonia/Views/OutputsPage.axaml b/StabilityMatrix.Avalonia/Views/OutputsPage.axaml index 22fdbc37..3b1a02bb 100644 --- a/StabilityMatrix.Avalonia/Views/OutputsPage.axaml +++ b/StabilityMatrix.Avalonia/Views/OutputsPage.axaml @@ -6,7 +6,7 @@ xmlns:avaloniaEdit="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit" xmlns:controls="clr-namespace:StabilityMatrix.Avalonia.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:fluentAvalonia="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentAvalonia="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" xmlns:lang="clr-namespace:StabilityMatrix.Avalonia.Languages" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mocks="clr-namespace:StabilityMatrix.Avalonia.DesignData" diff --git a/StabilityMatrix.Avalonia/Views/PackageManager/PackageExtensionBrowserView.axaml b/StabilityMatrix.Avalonia/Views/PackageManager/PackageExtensionBrowserView.axaml index aa9c88a4..188e0971 100644 --- a/StabilityMatrix.Avalonia/Views/PackageManager/PackageExtensionBrowserView.axaml +++ b/StabilityMatrix.Avalonia/Views/PackageManager/PackageExtensionBrowserView.axaml @@ -11,7 +11,7 @@ xmlns:extensions="clr-namespace:StabilityMatrix.Core.Models.Packages.Extensions;assembly=StabilityMatrix.Core" xmlns:input="clr-namespace:FluentAvalonia.UI.Input;assembly=FluentAvalonia" xmlns:lang="clr-namespace:StabilityMatrix.Avalonia.Languages" - xmlns:fluentIcons="clr-namespace:FluentIcons.FluentAvalonia;assembly=FluentIcons.FluentAvalonia" + xmlns:fluentIcons="clr-namespace:FluentIcons.Avalonia.Fluent;assembly=FluentIcons.Avalonia.Fluent" xmlns:sg="clr-namespace:SpacedGridControl.Avalonia;assembly=SpacedGridControl.Avalonia" xmlns:models="clr-namespace:StabilityMatrix.Core.Models;assembly=StabilityMatrix.Core" xmlns:converters="clr-namespace:StabilityMatrix.Avalonia.Converters" @@ -201,6 +201,11 @@ + + ( - content, - A1111ExtensionManifestSerializerContext.Default.Options - ); - - return jsonManifest?.GetPackageExtensions() ?? Enumerable.Empty(); + try + { + // Get json + var content = await package + .DownloadService.GetContentAsync(manifest.Uri.ToString(), cancellationToken) + .ConfigureAwait(false); + + // Parse json + var jsonManifest = JsonSerializer.Deserialize( + content, + A1111ExtensionManifestSerializerContext.Default.Options + ); + + return jsonManifest?.GetPackageExtensions() ?? Enumerable.Empty(); + } + catch (Exception e) + { + Logger.Error(e, "Failed to get extensions from manifest"); + return Enumerable.Empty(); + } } } } diff --git a/StabilityMatrix.Core/Models/Packages/ComfyUI.cs b/StabilityMatrix.Core/Models/Packages/ComfyUI.cs index 689bbebf..fcdd31bb 100644 --- a/StabilityMatrix.Core/Models/Packages/ComfyUI.cs +++ b/StabilityMatrix.Core/Models/Packages/ComfyUI.cs @@ -486,18 +486,26 @@ public class ComfyUI( CancellationToken cancellationToken = default ) { - // Get json - var content = await package - .DownloadService.GetContentAsync(manifest.Uri.ToString(), cancellationToken) - .ConfigureAwait(false); - - // Parse json - var jsonManifest = JsonSerializer.Deserialize( - content, - ComfyExtensionManifestSerializerContext.Default.Options - ); - - return jsonManifest?.GetPackageExtensions() ?? Enumerable.Empty(); + try + { + // Get json + var content = await package + .DownloadService.GetContentAsync(manifest.Uri.ToString(), cancellationToken) + .ConfigureAwait(false); + + // Parse json + var jsonManifest = JsonSerializer.Deserialize( + content, + ComfyExtensionManifestSerializerContext.Default.Options + ); + + return jsonManifest?.GetPackageExtensions() ?? Enumerable.Empty(); + } + catch (Exception e) + { + Logger.Error(e, "Failed to get package extensions"); + return Enumerable.Empty(); + } } /// diff --git a/StabilityMatrix.Core/Models/Packages/Fooocus.cs b/StabilityMatrix.Core/Models/Packages/Fooocus.cs index 698c9f1a..094640ea 100644 --- a/StabilityMatrix.Core/Models/Packages/Fooocus.cs +++ b/StabilityMatrix.Core/Models/Packages/Fooocus.cs @@ -1,5 +1,7 @@ using System.Collections.Immutable; using System.Diagnostics; +using System.Text.Json; +using System.Text.Json.Serialization; using System.Text.RegularExpressions; using StabilityMatrix.Core.Attributes; using StabilityMatrix.Core.Helper; @@ -32,7 +34,9 @@ public class Fooocus( public override string LaunchCommand => "launch.py"; public override Uri PreviewImageUri => - new("https://user-images.githubusercontent.com/19834515/261830306-f79c5981-cf80-4ee3-b06b-3fef3f8bfbc7.png"); + new( + "https://user-images.githubusercontent.com/19834515/261830306-f79c5981-cf80-4ee3-b06b-3fef3f8bfbc7.png" + ); public override List LaunchOptions => new() @@ -81,7 +85,13 @@ public class Fooocus( MemoryLevel.Medium => "--always-normal-vram", _ => null }, - Options = { "--always-high-vram", "--always-normal-vram", "--always-low-vram", "--always-no-vram" } + Options = + { + "--always-high-vram", + "--always-normal-vram", + "--always-low-vram", + "--always-no-vram" + } }, new LaunchOptionDefinition { @@ -107,10 +117,10 @@ public class Fooocus( LaunchOptionDefinition.Extras }; - public override SharedFolderMethod RecommendedSharedFolderMethod => SharedFolderMethod.Symlink; + public override SharedFolderMethod RecommendedSharedFolderMethod => SharedFolderMethod.Configuration; public override IEnumerable AvailableSharedFolderMethods => - new[] { SharedFolderMethod.Symlink, SharedFolderMethod.None }; + new[] { SharedFolderMethod.Symlink, SharedFolderMethod.Configuration, SharedFolderMethod.None }; public override Dictionary> SharedFolders => new() @@ -222,4 +232,106 @@ public class Fooocus( VenvRunner?.RunDetached(args.TrimEnd(), HandleConsoleOutput, HandleExit); } + + public override Task SetupModelFolders( + DirectoryPath installDirectory, + SharedFolderMethod sharedFolderMethod + ) + { + return sharedFolderMethod switch + { + SharedFolderMethod.Symlink + => base.SetupModelFolders(installDirectory, SharedFolderMethod.Symlink), + SharedFolderMethod.Configuration => SetupModelFoldersConfig(installDirectory), + SharedFolderMethod.None => WriteDefaultConfig(installDirectory), + _ => throw new ArgumentOutOfRangeException(nameof(sharedFolderMethod), sharedFolderMethod, null) + }; + } + + public override Task RemoveModelFolderLinks( + DirectoryPath installDirectory, + SharedFolderMethod sharedFolderMethod + ) + { + return sharedFolderMethod switch + { + SharedFolderMethod.Symlink => base.RemoveModelFolderLinks(installDirectory, sharedFolderMethod), + SharedFolderMethod.Configuration => WriteDefaultConfig(installDirectory), + SharedFolderMethod.None => Task.CompletedTask, + _ => throw new ArgumentOutOfRangeException(nameof(sharedFolderMethod), sharedFolderMethod, null) + }; + } + + private JsonSerializerOptions jsonSerializerOptions = + new() { WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault }; + + private async Task SetupModelFoldersConfig(DirectoryPath installDirectory) + { + var fooocusConfigPath = installDirectory.JoinFile("config.txt"); + var fooocusConfig = new FooocusConfig(); + if (fooocusConfigPath.Exists) + { + var configText = await fooocusConfigPath.ReadAllTextAsync().ConfigureAwait(false); + fooocusConfig = JsonSerializer.Deserialize(configText) ?? new FooocusConfig(); + } + else + { + fooocusConfigPath.Create(); + } + + fooocusConfig.PathCheckpoints = Path.Combine(settingsManager.ModelsDirectory, "StableDiffusion"); + fooocusConfig.PathLoras = Path.Combine(settingsManager.ModelsDirectory, "Lora"); + fooocusConfig.PathEmbeddings = Path.Combine(settingsManager.ModelsDirectory, "TextualInversion"); + fooocusConfig.PathVaeApprox = Path.Combine(settingsManager.ModelsDirectory, "ApproxVAE"); + fooocusConfig.PathUpscaleModels = Path.Combine(settingsManager.ModelsDirectory, "ESRGAN"); + fooocusConfig.PathInpaint = Path.Combine(installDirectory, "models", "inpaint"); + fooocusConfig.PathControlnet = Path.Combine(settingsManager.ModelsDirectory, "ControlNet"); + fooocusConfig.PathClipVision = Path.Combine(settingsManager.ModelsDirectory, "CLIP"); + fooocusConfig.PathFooocusExpansion = Path.Combine( + installDirectory, + "models", + "prompt_expansion", + "fooocus_expansion" + ); + fooocusConfig.PathOutputs = Path.Combine(installDirectory, OutputFolderName); + + await fooocusConfigPath + .WriteAllTextAsync(JsonSerializer.Serialize(fooocusConfig, jsonSerializerOptions)) + .ConfigureAwait(false); + } + + private async Task WriteDefaultConfig(DirectoryPath installDirectory) + { + var fooocusConfigPath = installDirectory.JoinFile("config.txt"); + var fooocusConfig = new FooocusConfig(); + if (fooocusConfigPath.Exists) + { + var configText = await fooocusConfigPath.ReadAllTextAsync().ConfigureAwait(false); + fooocusConfig = JsonSerializer.Deserialize(configText) ?? new FooocusConfig(); + } + else + { + fooocusConfigPath.Create(); + } + + fooocusConfig.PathCheckpoints = Path.Combine(installDirectory, "models", "checkpoints"); + fooocusConfig.PathLoras = Path.Combine(installDirectory, "models", "loras"); + fooocusConfig.PathEmbeddings = Path.Combine(installDirectory, "models", "embeddings"); + fooocusConfig.PathVaeApprox = Path.Combine(installDirectory, "models", "vae_approx"); + fooocusConfig.PathUpscaleModels = Path.Combine(installDirectory, "models", "upscale_models"); + fooocusConfig.PathInpaint = Path.Combine(installDirectory, "models", "inpaint"); + fooocusConfig.PathControlnet = Path.Combine(installDirectory, "models", "controlnet"); + fooocusConfig.PathClipVision = Path.Combine(installDirectory, "models", "clip_vision"); + fooocusConfig.PathFooocusExpansion = Path.Combine( + installDirectory, + "models", + "prompt_expansion", + "fooocus_expansion" + ); + fooocusConfig.PathOutputs = Path.Combine(installDirectory, OutputFolderName); + + await fooocusConfigPath + .WriteAllTextAsync(JsonSerializer.Serialize(fooocusConfig, jsonSerializerOptions)) + .ConfigureAwait(false); + } } diff --git a/StabilityMatrix.Core/StabilityMatrix.Core.csproj b/StabilityMatrix.Core/StabilityMatrix.Core.csproj index 44f76ba6..152ab78f 100644 --- a/StabilityMatrix.Core/StabilityMatrix.Core.csproj +++ b/StabilityMatrix.Core/StabilityMatrix.Core.csproj @@ -17,19 +17,19 @@ - + - - - - - + + + + + - + - + @@ -38,23 +38,23 @@ - - + + - + - + - + - - - + + + diff --git a/StabilityMatrix.Tests/StabilityMatrix.Tests.csproj b/StabilityMatrix.Tests/StabilityMatrix.Tests.csproj index a0acdc33..4acde2ab 100644 --- a/StabilityMatrix.Tests/StabilityMatrix.Tests.csproj +++ b/StabilityMatrix.Tests/StabilityMatrix.Tests.csproj @@ -12,9 +12,9 @@ - + - + @@ -23,7 +23,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/StabilityMatrix.UITests/MainWindowTests.cs b/StabilityMatrix.UITests/MainWindowTests.cs index 1c002cf5..2e203746 100644 --- a/StabilityMatrix.UITests/MainWindowTests.cs +++ b/StabilityMatrix.UITests/MainWindowTests.cs @@ -8,7 +8,6 @@ using StabilityMatrix.UITests.Extensions; namespace StabilityMatrix.UITests; -[UsesVerify] [Collection("TempDir")] [TestCaseOrderer("StabilityMatrix.UITests.PriorityOrderer", "StabilityMatrix.UITests")] public class MainWindowTests : TestBase diff --git a/StabilityMatrix.UITests/ModelBrowser/CivitAiBrowserTests.cs b/StabilityMatrix.UITests/ModelBrowser/CivitAiBrowserTests.cs index fd9b2fd2..0aadb3fc 100644 --- a/StabilityMatrix.UITests/ModelBrowser/CivitAiBrowserTests.cs +++ b/StabilityMatrix.UITests/ModelBrowser/CivitAiBrowserTests.cs @@ -1,13 +1,4 @@ -using Avalonia.Controls; -using Avalonia.Interactivity; -using Avalonia.Threading; -using Avalonia.VisualTree; -using FluentAvalonia.UI.Controls; -using StabilityMatrix.Avalonia.Views; -using StabilityMatrix.UITests.Extensions; +namespace StabilityMatrix.UITests.ModelBrowser; -namespace StabilityMatrix.UITests.ModelBrowser; - -[UsesVerify] [Collection("TempDir")] -public class CivitAiBrowserTests : TestBase { } +public class CivitAiBrowserTests : TestBase; diff --git a/StabilityMatrix.UITests/StabilityMatrix.UITests.csproj b/StabilityMatrix.UITests/StabilityMatrix.UITests.csproj index 429b86f1..f94bfc76 100644 --- a/StabilityMatrix.UITests/StabilityMatrix.UITests.csproj +++ b/StabilityMatrix.UITests/StabilityMatrix.UITests.csproj @@ -10,16 +10,16 @@ - + - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all