I make generators on Perchance.org and do a bunch of other cool things.
Links:
Where does this happen, the AI character chat or somewhere else? Can you open the DevTools Console by heading to the … menu in the browser > More tools > Developer tools (or similar ways) and then selecting the Console tab (or just press Ctrl+Shift+J
) and see if you get any errors from it?
I really like this, the UI is pretty nice too. Sometimes I need a way to test multiple styles all at once when it comes to generating images on Perchance.
One suggestion from me is that the style selection checkbox list could be made a bit taller (to maybe 5 rows in height) so I can see more styles at one glance.
Probably not, I’ve never set any of my plugins private before or after saving. Either way this may happen at any chance.
This most likely happened on very newly created generators, when the automatic thumbnail for those haven’t been captured yet.
Also @[email protected], at least only on the hub page, one sub-list async function assignment is somehow mistakenly recognized as a parsing error (I’ve only encountered this on desktop and not mobile).
Same with some of my generators/plugins too, even my generator hub page has a blank thumbnail. (Here’s a link for testing)
Here’s my solution so far - create a variable that’ll hold the generated types in and then change the code of the sentence
list to never use any of these already-generated types:
// Create a new "takenTypes" array variable to store the already generated types
takenTypes = [[]]
sentence
[takenTypes = [], ""]You find yourself in {a} [d=description.selectOne] [b=biome.selectOne].<br> As the area is [d.singularForm.lowerCase], [td = typesdescription.selectOne, uniqueReturn(td)] type 'mons are rather prolific. That is in addition to the [removeDups(others[b]).selectUnique(2).map(x => uniqueReturn(x)).join(" and ")] types that live in the [b] already. <br>Oddly enough, there also seem to be some [s=removeDups(stragglers).selectOne, uniqueReturn(s)] type 'mons in the area as well.
// Returns a new list that does not contain the entries already shown in the output
removeDups(list) => return list.selectAll.filter(x => !takenTypes.includes(x));
// Adds the entry into the "takenTypes" variable so they never show up again in the same output
uniqueReturn(i) => takenTypes.push(i); return i;
“When every single path of success and decision has been accomplished together, the lights of Crystaboard will coalesce and unite together, creating a strong and immeasurable bond that powers the light for the spirited realm.”
Generated with: txt2image-generator
Well, personally I have never really been using generated images commercially or on a few of the popular social medias outside of image contests on the sister community and other things, but Stable Diffusion (that powers Perchance’s text to image plugin) has a kind of policy that explains how you should post (or redistribute) generated images online at Section III:
https://github.com/Stability-AI/stablediffusion/blob/main/LICENSE-MODEL
(Here’s a comment from a related thread on the sister Casual Perchance community)
Can you give a more detailed explanation (and what you have tried so far)? You can message me if you don’t want to post it in this thread.
Just some context, this error seems to only happen if you put that style
snippet into the list panel, not the HTML panel (I know you might have found the solution already).
You can put it anywhere in the HTML panel and it’ll work fine, but I do recommend putting it at the bottom of the code like so:
How about “Light Art” - anything that can be possibly made out of light (e.g., a glowing neon globe that is supposedly purely made of light.).
Found an easy temporary solution for this; try adding this into the HTML panel and see if there’s any effect:
<style>
.goto-plugin {display: inline-block}
</style>
Anyways, time for a bug report @[email protected]: It seems like the text is cut off when the font plugin is combined with the goto plugin in some devices due to force-inline styling by the latter.
Turns out this also happens in one of my oldest generators, Power Hangman, and not just in the Generator Manager. Someone in the comments of that page reported this quite recently, so I just fixed that generator to use the var i
solution instead of let i
. I should probably create a post on the Perchance community about this so everyone can have a catch.
In short, multiple let
declarations on the script
tag in the HTML would now cause an error in the generator. I haven’t encountered these errors before, so if you happen to experience that same error as well, let me know!
Try fully reloading the generator by clicking on the “reload” button at the bottom-right corner to temporarily fix the problem. I’ll ping @[email protected] so they can have a heads-up on this one.
Mention the server like this: @perchance @lemmy.world (remove the spaces in-between so it would be an actual ping).
It’s text2image since the framework was originally used to create customizable text-to-image generators I think.
Thanks! I appreciate it! 😃
I’m going to do a few more updates and release a few more things before heading to the “revival” plan and eventually the big Generator Manager update.
A bit of story: I was able to claim the username
bluepower
after constantly getting “low trust score” messages whenever I try to claim it. After the personal device incident struck though, theuser
command no longer works and I couldn’t use mybluepower
username in comments (because the “trust score” metrics was reset, obviously). I wondered for a long time until I figured out how to encounter that restriction and was able to set the blue username once again.Either way though, I think the “trust score” system was made to prevent people from misusing the common-word names (like
apple
,blue
,perchance
, etc.). Also here’s a related thread linking to a similar problem.