diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/advancedsettings.css.ts b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/advancedsettings.css.ts
new file mode 100644
index 00000000..88808cd7
--- /dev/null
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/advancedsettings.css.ts
@@ -0,0 +1,22 @@
+import { style, globalStyle } from '@vanilla-extract/css';
+
+export const AdvancedSettingsList = style({
+ // font-size: 9pt;
+ // margin-bottom: 5px;
+ // padding-left: 10px;
+ // list-style-type: none;
+
+ fontSize: '9pt',
+ marginBottom: '5px',
+ paddingLeft: '10px',
+ listStyleType: 'none',
+
+});
+
+export const AdvancedSettingItem = style({
+ paddingBottom: '5px',
+});
+
+globalStyle( 'button > h4', {
+ color:'lightgrey'
+});
\ No newline at end of file
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx
new file mode 100644
index 00000000..db42a828
--- /dev/null
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx
@@ -0,0 +1,70 @@
+import React, {useState} from "react";
+import { useImageCreate } from "../../../../../store/imageCreateStore";
+
+
+export default function GpuSettings() {
+
+ const turbo = useImageCreate((state) => state.getValueForRequestKey("turbo"));
+ const use_cpu = useImageCreate((state) =>
+ state.getValueForRequestKey("use_cpu")
+ );
+ const use_full_precision = useImageCreate((state) =>
+ state.getValueForRequestKey("use_full_precision")
+ );
+
+ const setRequestOption = useImageCreate((state) => state.setRequestOptions);
+
+ const [gpuOpen, setGpuOpen] = useState(false);
+
+ const toggleGpuOpen = () => {
+ setGpuOpen(!gpuOpen);
+ };
+
+ return (
+
+ );
+}
\ No newline at end of file
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx
new file mode 100644
index 00000000..49f3f727
--- /dev/null
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx
@@ -0,0 +1,94 @@
+import React, {useState} from "react";
+import { useImageCreate } from "../../../../../store/imageCreateStore";
+
+export default function ImprovementSettings() {
+
+ // these are conditionals that should be retired and inferred from the store
+ const isUsingUpscaling = useImageCreate((state) => state.isUsingUpscaling());
+ const isUsingFaceCorrection = useImageCreate((state) =>state.isUsingFaceCorrection());
+
+ const use_upscale = useImageCreate((state) =>
+ state.getValueForRequestKey("use_upscale")
+ );
+
+ const show_only_filtered_image = useImageCreate((state) =>
+ state.getValueForRequestKey("show_only_filtered_image")
+ );
+
+ const toggleUseFaceCorrection = useImageCreate(
+ (state) => state.toggleUseFaceCorrection
+ );
+
+ const toggleUseUpscaling = useImageCreate(
+ (state) => state.toggleUseUpscaling
+ );
+
+ const setRequestOption = useImageCreate((state) => state.setRequestOptions);
+
+ const [improvementOpen, setImprovementOpen] = useState(true);
+
+ const toggleImprovementOpen = () => {
+ setImprovementOpen(!improvementOpen);
+ };
+
+
+ return (
+
+ );
+}
\ No newline at end of file
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx
index 9b1aa5a0..938e4d44 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx
@@ -1,343 +1,36 @@
import React, { useEffect } from "react";
import { useImageCreate } from "../../../../store/imageCreateStore";
-// import "./advancedSettings.css";
+import {
+ AdvancedSettingsList,
+ AdvancedSettingItem
+} // @ts-ignore
+from "./advancedsettings.css.ts";
-// todo: move this someplace more global
-const IMAGE_DIMENSIONS = [
- { value: 128, label: "128 (*)" },
- { value: 192, label: "192" },
- { value: 256, label: "256 (*)" },
- { value: 320, label: "320" },
- { value: 384, label: "384" },
- { value: 448, label: "448" },
- { value: 512, label: "512 (*)" },
- { value: 576, label: "576" },
- { value: 640, label: "640" },
- { value: 704, label: "704" },
- { value: 768, label: "768 (*)" },
- { value: 832, label: "832" },
- { value: 896, label: "896" },
- { value: 960, label: "960" },
- { value: 1024, label: "1024 (*)" },
-];
+import ImprovementSettings from "./improvementSettings";
+import PropertySettings from "./propertySettings";
+import WorkflowSettings from "./workflowSettings";
+import GpuSettings from "./gpuSettings";
function SettingsList() {
- const parallelCount = useImageCreate((state) => state.parallelCount);
- const setParallelCount = useImageCreate((state) => state.setParallelCount);
- const setRequestOption = useImageCreate((state) => state.setRequestOptions);
-
- const toggleUseFaceCorrection = useImageCreate(
- (state) => state.toggleUseFaceCorrection
- );
-
- const isUsingFaceCorrection = useImageCreate((state) =>
- state.isUsingFaceCorrection()
- );
-
- const toggleUseUpscaling = useImageCreate(
- (state) => state.toggleUseUpscaling
- );
- const isUsingUpscaling = useImageCreate((state) => state.isUsingUpscaling());
-
- const toggleUseRandomSeed = useImageCreate(
- (state) => state.toggleUseRandomSeed
- );
- const isRandomSeed = useImageCreate((state) => state.isRandomSeed());
-
- const toggleUseAutoSave = useImageCreate((state) => state.toggleUseAutoSave);
- const isUseAutoSave = useImageCreate((state) => state.isUseAutoSave());
-
- const toggleSoundEnabled = useImageCreate(
- (state) => state.toggleSoundEnabled
- );
- const isSoundEnabled = useImageCreate((state) => state.isSoundEnabled());
-
- const use_upscale = useImageCreate((state) =>
- state.getValueForRequestKey("use_upscale")
- );
- const show_only_filtered_image = useImageCreate((state) =>
- state.getValueForRequestKey("show_only_filtered_image")
- );
- const seed = useImageCreate((state) => state.getValueForRequestKey("seed"));
- const width = useImageCreate((state) => state.getValueForRequestKey("width"));
- const num_outputs = useImageCreate((state) =>
- state.getValueForRequestKey("num_outputs")
- );
- const height = useImageCreate((state) =>
- state.getValueForRequestKey("height")
- );
- const steps = useImageCreate((state) =>
- state.getValueForRequestKey("num_inference_steps")
- );
- const guidance_scale = useImageCreate((state) =>
- state.getValueForRequestKey("guidance_scale")
- );
- const prompt_strength = useImageCreate((state) =>
- state.getValueForRequestKey("prompt_strength")
- );
- const save_to_disk_path = useImageCreate((state) =>
- state.getValueForRequestKey("save_to_disk_path")
- );
- const turbo = useImageCreate((state) => state.getValueForRequestKey("turbo"));
- const use_cpu = useImageCreate((state) =>
- state.getValueForRequestKey("use_cpu")
- );
- const use_full_precision = useImageCreate((state) =>
- state.getValueForRequestKey("use_full_precision")
- );
return (
-
- {/*IMAGE CORRECTION */}
- -
-
+
+ -
+
- -
-
+
-
+
- -
-
+
-
+
- {/* SEED */}
- -
-
-
-
- {/* COUNT */}
- -
-
-
-
- {/* DIMENTIONS */}
- -
-
-
- -
-
-
- {/* STEPS */}
- -
-
-
- {/* GUIDANCE SCALE */}
- -
-
- {guidance_scale}
-
- {/* PROMPT STRENGTH */}
- -
-
- {prompt_strength}
-
- {/* AUTO SAVE */}
- -
-
-
-
- {/* SOUND */}
- -
-
-
- {/* GENERATE */}
- -
-
-
- -
-
-
- -
-
+
-
+
);
}
-// {/* */}
-
export default function AdvancedSettings() {
const advancedSettingsIsOpen = useImageCreate(
(state) => state.uiOptions.advancedSettingsIsOpen
@@ -354,7 +47,7 @@ export default function AdvancedSettings() {
onClick={toggleAdvancedSettingsIsOpen}
className="panel-box-toggle-btn"
>
- Advanced Settings
+ Advanced Settings
{advancedSettingsIsOpen && }
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/propertySettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/propertySettings/index.tsx
new file mode 100644
index 00000000..a9378e00
--- /dev/null
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/propertySettings/index.tsx
@@ -0,0 +1,173 @@
+import React, {useState} from "react";
+import { useImageCreate } from "../../../../../store/imageCreateStore";
+
+
+// todo: move this someplace more global
+const IMAGE_DIMENSIONS = [
+ { value: 128, label: "128 (*)" },
+ { value: 192, label: "192" },
+ { value: 256, label: "256 (*)" },
+ { value: 320, label: "320" },
+ { value: 384, label: "384" },
+ { value: 448, label: "448" },
+ { value: 512, label: "512 (*)" },
+ { value: 576, label: "576" },
+ { value: 640, label: "640" },
+ { value: 704, label: "704" },
+ { value: 768, label: "768 (*)" },
+ { value: 832, label: "832" },
+ { value: 896, label: "896" },
+ { value: 960, label: "960" },
+ { value: 1024, label: "1024 (*)" },
+];
+
+
+export default function PropertySettings() {
+
+
+ const setRequestOption = useImageCreate((state) => state.setRequestOptions);
+ const toggleUseRandomSeed = useImageCreate(
+ (state) => state.toggleUseRandomSeed
+ );
+ const isRandomSeed = useImageCreate((state) => state.isRandomSeed());
+
+ const seed = useImageCreate((state) => state.getValueForRequestKey("seed"));
+ const steps = useImageCreate((state) =>
+ state.getValueForRequestKey("num_inference_steps")
+ );
+ const guidance_scale = useImageCreate((state) =>
+ state.getValueForRequestKey("guidance_scale")
+ );
+ const prompt_strength = useImageCreate((state) =>
+ state.getValueForRequestKey("prompt_strength")
+ );
+ const width = useImageCreate((state) => state.getValueForRequestKey("width"));
+ const height = useImageCreate((state) =>
+ state.getValueForRequestKey("height")
+ );
+
+ const [propertyOpen, setPropertyOpen] = useState(true);
+
+ const togglePropertyOpen = () => {
+ setPropertyOpen(!propertyOpen);
+ };
+
+ return (
+
+ );
+}
\ No newline at end of file
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/workflowSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/workflowSettings/index.tsx
new file mode 100644
index 00000000..4633e0a7
--- /dev/null
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/workflowSettings/index.tsx
@@ -0,0 +1,100 @@
+import React, {useState} from "react";
+import { useImageCreate } from "../../../../../store/imageCreateStore";
+
+export default function WorkflowSettings() {
+
+ const num_outputs = useImageCreate((state) =>
+ state.getValueForRequestKey("num_outputs")
+ );
+ const parallelCount = useImageCreate((state) => state.parallelCount);
+ const isUseAutoSave = useImageCreate((state) => state.isUseAutoSave());
+ const save_to_disk_path = useImageCreate((state) =>
+ state.getValueForRequestKey("save_to_disk_path")
+);
+ const isSoundEnabled = useImageCreate((state) => state.isSoundEnabled());
+
+ const setRequestOption = useImageCreate((state) => state.setRequestOptions);
+ const setParallelCount = useImageCreate((state) => state.setParallelCount);
+ const toggleUseAutoSave = useImageCreate((state) => state.toggleUseAutoSave);
+ const toggleSoundEnabled = useImageCreate(
+ (state) => state.toggleSoundEnabled
+ );
+
+
+ const [workflowOpen, setWorkflowOpen] = useState(true);
+
+ const toggleWorkflowOpen = () => {
+ setWorkflowOpen(!workflowOpen);
+ };
+
+ return (
+
+ );
+};
\ No newline at end of file
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/seedImage/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/seedImage/index.tsx
index d07e7f94..18fa4522 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/seedImage/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/seedImage/index.tsx
@@ -64,7 +64,6 @@ export default function SeedImage(_props: any) {
{init_image && (
<>
-
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/creationpane.css.ts b/ui/frontend/build_src/src/components/organisms/creationPanel/creationpane.css.ts
index da211031..c4ae4a45 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/creationpane.css.ts
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/creationpane.css.ts
@@ -1,8 +1,8 @@
-import { style } from "@vanilla-extract/css";
+import { style } from '@vanilla-extract/css';
export const CreationPaneMain = style({
- position: "relative",
- width: "100%",
- height: "100%",
- padding: "0 10px",
-});
+ position: 'relative',
+ width: '100%',
+ height: '100%',
+ padding:'0 10px',
+});
\ No newline at end of file
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/index.tsx
index 7b7ebb18..bfdfa2c5 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/index.tsx
@@ -15,11 +15,8 @@ export default function CreationPanel() {
return (
);
}
diff --git a/ui/frontend/build_src/src/components/organisms/footerDisplay/index.tsx b/ui/frontend/build_src/src/components/organisms/footerDisplay/index.tsx
index 6e78b3fd..2519648f 100644
--- a/ui/frontend/build_src/src/components/organisms/footerDisplay/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/footerDisplay/index.tsx
@@ -2,13 +2,15 @@ import React from "react";
import "./footerDisplay.css";
+import { API_URL } from "../../../api";
+
export default function FooterDisplay() {
return (