setInlineExpanded(!inlineExpanded)}
+ >
+ {(small && !inlineExpanded
+ ? output.slice(-1)
+ : [...output].reverse()
+ ).map((line, index) => (
- createDream()}
- fullWidth
- disabled={
- !inputID ||
- generating ||
- !(dreams.filter((d) => d.id === selectedID).length > 0)
- }
- loading={generating}
- />
+
+
+ createDream()}
+ fullWidth
+ disabled={
+ !inputID ||
+ generating ||
+ !(dreams.filter((d) => d.id === selectedID).length > 0)
+ }
+ loading={generating}
+ />
+
);
diff --git a/packages/stablestudio-ui/src/Generation/Image/Sidebar/index.tsx b/packages/stablestudio-ui/src/Generation/Image/Sidebar/index.tsx
index 5cabc27..ebeb60a 100644
--- a/packages/stablestudio-ui/src/Generation/Image/Sidebar/index.tsx
+++ b/packages/stablestudio-ui/src/Generation/Image/Sidebar/index.tsx
@@ -1,5 +1,6 @@
import { useLocation } from "react-router-dom";
import { App } from "~/App";
+import { Comfy } from "~/Comfy";
import { Generation } from "~/Generation";
import { Theme } from "~/Theme";
@@ -11,6 +12,20 @@ export function Sidebar() {
const location = useLocation();
if (!input?.id) return null;
+
+ const bottom = (
+
+
+
+ createDream()}
+ fullWidth
+ />
+
+
+ );
+
return (
<>
- createDream()}
- fullWidth
- />
-
- }
+ bottom={bottom}
>
@@ -49,15 +56,7 @@ export function Sidebar() {
location.pathname.startsWith("/edit") ||
location.pathname.startsWith("/nodes")
}
- bottom={
-
- createDream()}
- fullWidth
- />
-
- }
+ bottom={bottom}
>