Spaces:
Runtime error
Runtime error
Commit
•
3f94588
1
Parent(s):
86e1104
minor improvement - if I can say
Browse files
src/lib/dirtyCaptionCleaner.ts
CHANGED
@@ -24,7 +24,9 @@ export function dirtyCaptionCleaner({
|
|
24 |
)
|
25 |
|
26 |
// we have to crop the instructions unfortunately, otherwise the style will disappear
|
27 |
-
newInstructions = newInstructions.slice(0, 77)
|
|
|
|
|
28 |
|
29 |
// american comic about brunette wood elf walks around a dark forrest and suddenly stops when hearing a strange noise, single panel, modern american comic, comicbook style, 2010s, digital print, color comicbook, color drawing, Full shot of the elf, her eyes widening in surprise, as a glowing, ethereal creature steps out of the shadows.",
|
30 |
|
|
|
24 |
)
|
25 |
|
26 |
// we have to crop the instructions unfortunately, otherwise the style will disappear
|
27 |
+
// newInstructions = newInstructions.slice(0, 77)
|
28 |
+
// EDIT: well actually the instructions are already at the end of the prompt,
|
29 |
+
// so we can let SDXL do this cropping job for us
|
30 |
|
31 |
// american comic about brunette wood elf walks around a dark forrest and suddenly stops when hearing a strange noise, single panel, modern american comic, comicbook style, 2010s, digital print, color comicbook, color drawing, Full shot of the elf, her eyes widening in surprise, as a glowing, ethereal creature steps out of the shadows.",
|
32 |
|