You need to make the quoteSourceEl
to be an <a>
tag e.g. <a id="quoteSourceEl" class="source" href="#"></a>
, then after you add a href
value, it would be a hyperlink.
Best way is to set up the image generation locally. You can use Automatic1111 since it was the basis of the API before, where (( tag ))
emphasis syntax is based on.
Okay, so since you used a 'Style', it would essentially add additional text/prompt to your input prompt to 'steer' the image to the selected style.
Here is how the prompt is set up using the 'Fantasy Portrait' style on the t2i-framework-plugin
generators like ai-text-to-image-generator:
, d&d, fantasy, highly detailed, digital painting, artstation, sharp focus, fantasy art, character art, illustration, 8k, art by artgerm and greg rutkowski. It's an absolute world-class masterpiece artwork. It's an aesthetically pleasing artwork with impeccable attention to detail and impressive composition.
So, with the prompt adding 'greg rutkowski' (and artstation) it would add some kind of signature (or watermark) with it. You can view what the styles are adding on this styles import page.
Thanks for the heads-up 💯
If you have any questions regarding the AI, a lot of it has been answered here: https://rentry.org/perchance-ai-faq
You can also just ask the questions here if it is related on the platform itself, unless it is regarding on how the server is set up and such.
That is one of the limitations of AI. You can't fit all of it on one instruction. There is a max length that can be inputted into the AI, and if the input exceeds, it tries to 'trim' the instruction, starting in the middle. The error:
Sorry, there was an error with the AI helper: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Is caused by the AI having a malformed response where it must respond with JSON, and the system will parse and take the data from the JSON to output on the editor. Due to the large context, the 'reply with JSON' instruction might have been cut off.
I would try to include a 'start' and 'end' markers for the AI to only edit that specific line of code. Try to open a new generator for now, then only add the code you want the AI to edit for it to be isolated and only short, then manually integrate it. I would also try to rephrase the prompt; it might not be specific enough or have enough context for it to focus on the details that only needs to be edited.
Can you provide on how often the problem occurs? Does it throw any errors before it freezes/stop loading? Does it clear the data when you refresh/reload the page after the error occurred?
Please do check your current storage if there is enough space, since all data is stored locally on your device. Are you also using private/incognito? If so, then exiting that would delete all data from your session. Do you have other applications that cleans files? It might be clearing the browser data.
Pinging dev @perchance.
Here is an alternative /generators
page that filters out the pages with AI plugins imported: https://perchance.org/-generators.
@[email protected] @Kasa I can try to write a guide in hosting your downloaded generators in Neocities, here is my page on it which has my downloaded generators placed. I can also maybe create a perchance page to 'cleanup' and separate the scripts files from the HTML into their own files so only one would be used on the website and not clog the HTML of each generator themselves?
Can you provide more info?
What device + browser are you using? Are you using incognito/private browsing? Does your browser has auto-delete cache/browser data?
@[email protected] pinging dev. The problem is in the line 3269
on setting the usageStats
.
...
// line 3269
if(result.exportUserData === "no") {
json.data.data.find(d => d.tableName === "usageStats").rows = []; // Throws error here
} else {
let usageStats = json.data.data.find(d => d.tableName === "usageStats");
if(usageStats) {
usageStats.rows = usageStats.rows.filter(entry => keepThreadCheck(entry.threadId) && keepCharacterCheck(entry.characterId));
}
}
...
Seems like on the DB Schema (line 2813
), usageStats
is no longer used, so maybe just removing them in the export fixes them.
The Automatic1111 link should have installation procedures on how to install it (and automatic installations) for your device. Here is for NVidia GPUs: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs
As for the other one, here is the steps on how to install it: https://github.com/Raxephion/Old-Perchance-Revival-WebUI/tree/main?tab=readme-ov-file#-easy-setup-windows---download--run