Spaces:
Runtime error
Runtime error
Commit
•
1f1e7e0
1
Parent(s):
4b2fc57
fix big bug
Browse files- src/app/main.tsx +4 -2
src/app/main.tsx
CHANGED
@@ -78,12 +78,14 @@ export default function Main() {
|
|
78 |
console.log("Sorry folks, the style prompt was cut to:", limitedStylePrompt)
|
79 |
}
|
80 |
|
81 |
-
// new experimental prompt: let's drop the user prompt
|
82 |
-
const lightPanelPromptPrefix = preset.imagePrompt(
|
83 |
|
84 |
// this prompt will be used if the LLM generation failed
|
85 |
const degradedPanelPromptPrefix = [
|
86 |
...preset.imagePrompt(limitedStylePrompt),
|
|
|
|
|
87 |
userStoryPrompt,
|
88 |
].filter(x => x).join(", ")
|
89 |
|
|
|
78 |
console.log("Sorry folks, the style prompt was cut to:", limitedStylePrompt)
|
79 |
}
|
80 |
|
81 |
+
// new experimental prompt: let's drop the user prompt, and only use the style
|
82 |
+
const lightPanelPromptPrefix = preset.imagePrompt(limitedStylePrompt).filter(x => x).join(", ")
|
83 |
|
84 |
// this prompt will be used if the LLM generation failed
|
85 |
const degradedPanelPromptPrefix = [
|
86 |
...preset.imagePrompt(limitedStylePrompt),
|
87 |
+
|
88 |
+
// we re-inject the story, then
|
89 |
userStoryPrompt,
|
90 |
].filter(x => x).join(", ")
|
91 |
|