VioneT

joined 1 year ago
MODERATOR OF
[–] VioneT 2 points 1 month ago (7 children)

Not sure, I don't really dabble on the NSFW content, so I won't know lmao.

[–] VioneT 1 points 1 month ago* (last edited 1 month ago)

Upon downloading the Cromite, I was able to fix the WebAssembly issue by enabling something called V8 (you could also just search "WebAssembly" on the search bar and it should highlight the setting):

Also some video proof. You could also probably just add Perchance to the list of sites that allows V8 instead of enabling it globally.

[–] VioneT 2 points 2 months ago (10 children)

No problem! It was actually an oversight on my part lmaooo

[–] VioneT 2 points 2 months ago (12 children)

Here is an updated code in the AI Artist.

It seems that there was a problem in setting the properties in the character itself, in which those properties are already existing in the AI Artist character.

But since you've transferred the code to another character, those properties are undefined and cannot be accessed so it cannot change it. I've managed to fix it by just setting default values.

[–] VioneT 2 points 2 months ago* (last edited 2 months ago) (15 children)

You can share the character link like this:

This won't share any threads, just the character.

[–] VioneT 4 points 2 months ago* (last edited 2 months ago)

Actually, please do use valid date formats, since the code is having a hard time parsing it. @[email protected] @[email protected]

[–] VioneT 1 points 2 months ago (20 children)

I'm not really sure, have you added a new style to it, maybe some syntax errors that doesn't allow the custom code to run? Can you link a 'share link' of the character?

I've added a fix here to not say 'AI Artist (style)' but 'Character Name (style)' and the styles should be added after clicking the button on the /change-style, although you still need to edit/create a new image to apply the style.

Here is a video on applying the styles.

[–] VioneT 1 points 2 months ago (23 children)

You need to create a new image or edit the current one to apply the style.

[–] VioneT 3 points 2 months ago (1 children)

Lemmy.world is separate from Perchance, and isn't affiliated with Perchance. It is a Federated Forum Platform, see this post for more Information about Lemmy.world.

Perchance.org on the other hand is a platform for sharing and creating random text generators. Logging in to Perchance would allow you to save/create generators. The AI tools is just an addition to the page.

You can use different login details on both pages.

[–] VioneT 2 points 2 months ago (26 children)

The custom code is written on the character itself. You can open it up by clicking the pencil icon on the thread. Here is a step by step guide to add custom codes for your character. You do not need to create a new page for it.

Here is AI Artist v2.2 which has my vionet20-t2i-styles-importable. I've also commented on the custom code there the formatting on adding your own styles on the styles object.

[–] VioneT 1 points 2 months ago

I'll also link some reddit posts that were having troubles with gibberish outputs, mainly on the ai-chat though some are on ai-character-chat:

I haven't encountered one myself, and I'm don't really use it much.

[–] VioneT 3 points 2 months ago

Oh lmaoooo, there is no Sept 31. @eatham

 

cross-posted from: https://lemmy.world/post/14744285

I've mentioned this on another post, but I'll create a new thread to hear other opinions.

I'm proposing to have the Community Events on Perchance Hub be hosted on this Lemmy Community.

To accomplish this, the Forms tab on the Perchance Hub would be changed to Events tab. It would host the Event posts from this community.

That is, anyone can post an Event thread here and it would be mirrored on the Perchance Hub.

Technical Notes: The posts here would be retrieved (via the Lemmy API) and the posts would be filtered to events only. The Event posts will then be parsed and neatly displayed on the Perchance Hub. This would mean that the posts would have a template to follow.

This is so that anyone is welcome to create Events and those Event makers would be the ones who will manage their own events (no longer needing to wait the Perchance Hub update).

This way, there could be different events running, managed by different people, with different topics, event types, and limitations/rules and to update the details on the Perchance Hub, the event creators can just edit the event posts and it would reflect on the Hub.

Not yet sure about what details would be on the Perchance Hub. But something like @BluePower's Upcoming Events Page might be a good format/structure to remix with (although the comments plugin on each event on Perchance Hub might not be used since the Event Post already have a comments/thread to talk with).

Technical Notes: The mirrored details can probably include a cover image, ability for the creators to change the colors on the Hub, specify if it is an 'image' event, 'generator/page' based event, etc., so the formatting on the Hub would be nice.

In Summary:

  • Community Events will be hosted in https://lemmy.world/c/casual_perchance
  • Events are now hosted/managed by Event Creators
    • The posts would have a (somewhat strict) template to nicely structure them on the mirror on the Perchance Hub.
    • Events can simultaneously ran by different people, with different topics, event types, limitations or rules.
    • Events can be updated by the Event Creator
  • Event Details and Content / Template Format is not yet decided
  • Format in the Perchance Hub is not yet designed.

Additional Notes:

  • With this, I might remove the 'announcement modal' on the hub upon first visit (or when there is update to it) to remove the clutter.
  • Might also implement a dark mode to the Hub. (will require quite an overhaul on the hub page)
  • Might dynamically add the Event's banner on the Home Page for each event (with the most recent and about to end event on the top).
  • I currently do not have a stable internet so these changes might take a while to implement xD
5
submitted 6 months ago* (last edited 1 month ago) by VioneT to c/casual_perchance
 

List of Community Events


Community Event Metadata Template

Perchance Data

// This Part is Required for the Perchance Hub
// This would be where the Event Organizer would change the data to update the Hub
// Remember to indent with two spaces!

// List About the Event to be displayed on the Hub
metadata
  title = Title Here
  description = Description Here
  type = Generator Jam
  // Can be "Generator Jam", "Image Challenge", "Character Jam", etc.
  image
    // Can be multiple pictures to randomize the banner image :)
    // Must end with the '.png', '.webp', or any valid image format.
    https://lemmy.world/pictrs/image/f3889aca-b153-49a9-a9b0-2079eba7dce3.png
  
  // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings
  start = 07 August 2024 12:00:00 UTC+0000 
  end = 28 August 2024 12:00:00 UTC+0000
  color = linear-gradient(77deg, #386945, #30aa34) // background color of the banners any valid CSS colors
  rules
    // Just some rules or constraints for the event
    // can just be one rule or a list of rules
    rule 1
    rule 2
    etc.

// For Generator Jams with Perchance URL
generators
  // The generator's $metadata is also parsed
  generator-name // must be the 'dashed' generator name
    author = Author // author's name
    type = Text // type of generator, 
    // Valid types: Text, Image, Plugin, Template, Preprocessor, Games, Community/RP, Experiment

// For Image Events
images		
  https://image-url.png // must end with valid image format
    author = Author // author's name
    description = Text // any text

// For AI Character Chat (ACC) Character Jams
chars
  Character Name
    link = https://perchance.org/ai-character-chat?data=CharName~12345.gz // ai-character-chat share link
    avatar = https://image-url.png // or any valid image format
    author = Author
    description = Description

//
// You can request a format of other events just ask on the forum!
// In your Lemmy Post, you must have the `[Community Event]` in the title.
//


Example Generator Jam: Beat the Heat

Example Image Challenge: Epic Vehicle

Example Character Jam: Halloween Haunters


I've mentioned this on another post, but I'll create a new thread to hear other opinions.

I'm proposing to have the Community Events on Perchance Hub be hosted on this Lemmy Community.

To accomplish this, the Forms tab on the Perchance Hub would be changed to Events tab. It would host the Event posts from this community.

That is, anyone can post an Event thread here and it would be mirrored on the Perchance Hub.

Technical Notes: The posts here would be retrieved (via the Lemmy API) and the posts would be filtered to events only. The Event posts will then be parsed and neatly displayed on the Perchance Hub. This would mean that the posts would have a template to follow.

This is so that anyone is welcome to create Events and those Event makers would be the ones who will manage their own events (no longer needing to wait the Perchance Hub update).

This way, there could be different events running, managed by different people, with different topics, event types, and limitations/rules and to update the details on the Perchance Hub, the event creators can just edit the event posts and it would reflect on the Hub.

Not yet sure about what details would be on the Perchance Hub. But something like @BluePower's Upcoming Events Page might be a good format/structure to remix with (although the comments plugin on each event on Perchance Hub might not be used since the Event Post already have a comments/thread to talk with).

Technical Notes: The mirrored details can probably include a cover image, ability for the creators to change the colors on the Hub, specify if it is an 'image' event, 'generator/page' based event, etc., so the formatting on the Hub would be nice.

In Summary:

  • Community Events will be hosted in https://lemmy.world/c/casual_perchance
  • Events are now hosted/managed by Event Creators
    • The posts would have a (somewhat strict) template to nicely structure them on the mirror on the Perchance Hub.
    • Events can simultaneously ran by different people, with different topics, event types, limitations or rules.
    • Events can be updated by the Event Creator
  • Event Details and Content / Template Format is not yet decided
  • Format in the Perchance Hub is not yet designed.

Additional Notes:

  • With this, I might remove the 'announcement modal' on the hub upon first visit (or when there is update to it) to remove the clutter.
  • Might also implement a dark mode to the Hub. (will require quite an overhaul on the hub page)
  • Might dynamically add the Event's banner on the Home Page for each event (with the most recent and about to end event on the top).
  • I currently do not have a stable internet so these changes might take a while to implement xD
4
submitted 7 months ago* (last edited 7 months ago) by VioneT to c/perchance
 

Here is my attempt on modifying the tabs-plugin to allow 'Nested' Tabs.

Link to the Modified Plugin.

Demo Generator using the modified plugin.

This was made to address the problem of SynthAce (asked at the Perchance Hub - Learn Tab)

Technical Notes

  • I have reverted the 'minified' window.Tabs function to the un-minified to learn more about how the function works.

The code is originally from Zoltantothcom's Vanilla JavaScript Tabs Project

  • On the let titles code, I have removed the onclick on the <li> elements as removing them didn't have any impact on the plugin. I have also added a dataset attribute tablist on the <a> elements inside the <li> elements which will be the tabListKey (this is important to only reset the current tab's list and not all the tabs).
  • On the let contents code, I've also renamed the data-belongs-to-tab-list to just data-tablist.
  • On the main div with class tabs-plugin, I've also added the data-tablist to specify which tab has which key.
  • On the reverted Tabs function, I've added a tabList variable which is taken from the tab list key of the main tab element.
  • I've modified the reset function to pass through the tab list key to only reset the tab with the same keys, preventing resetting of the other tabs. It uses the querySelectorAll and selects only the items with the specified tab list key.
  • I've also modified the onClick function to pass through the tab list key to only update ( and reset ) the specified tab. Since previously it would update all tabs which causes problems in nested tabs.

4
submitted 7 months ago* (last edited 7 months ago) by VioneT to c/perchance
 

@[email protected] - pinging dev :)

Here is my implementation of 'remembering' the resized size of the textarea inputs. It is using the ResizeObserver (documentation) and will only observe textarea elements with resize style property enabled.

It is enabled with the @inputs:

[remember(root, "@inputs")]

EDIT: It would only save the resized size if you have inputs on the textarea.

EDIT 2: Fixed width responsiveness (for elements with width: 100%; max-width: ... ; resize: vertical where if the width gets lower than its maxed, it would save the width and fix the size without option to resize it back (since it is only resize: vertical). It now only saves the resizable direction i.e. height if resize is vertical and vice versa. For both or normal textarea it would save both width and height.

Here is the modified plugin: https://perchance.org/t2w8fixecn

Here is an example of it: https://perchance.org/5tfbmi0gtc

 

Due to the number of similar questions about the AI tools, here is a compiled list of frequently asked questions about the AI tools in Perchance.

Perchance AI FAQ

Please read it carefully and if you have any questions that isn't mentioned there, you can comment here.

 

On the ai-text-plugin, there is a way to get the inputs that were sent to the AI using the onStart(data) function:

onStart(data) - the code you put in this will run at the start of the generation process. You can access the inputs being used with data.inputs.instruction, data.inputs.startWith, etc.

I am wondering if we could also get the same for the text-to-image-plugin?

It can be either on the onStart(data) or on the onFinish(data) in which we can get the inputs/static values that were used for the response of the AI e.g. data.inputs.prompt, data.inputs.negativePrompt, etc.

With this, some features that can be implemented is a local history of past generations, in which the previous inputs were temporarily stored in the storage (or on the local storage so even if the page reloaded, the history is saved), then the users can revisit the previous generations (I have set up something similar like this on my text to image generators but they have some hacks to work).

This is not really a priority but might be good to have. Thanks!

1
submitted 9 months ago by VioneT to c/perchance
 

Here is a guide to allow Ads on AI-powered generators in Perchance.

https://perchance.org/allow-ads-guide

Please note that not all steps there might work for you, we all have different Internet Providers and personalized settings. Otherwise, please post any problems encountered or other solutions you have found on enabling Ads on this thread.

P.S. I'm not a Dev of the website

2
submitted 9 months ago* (last edited 9 months ago) by VioneT to c/perchance
 

Perchance is now up!

~~Perchance is currently down~~

Jan 22

Happened about around 12PM UTC. As of 1:55PM UTC it is up.

Jan 31

Around 4:35 AM UTC, went down again. Up on 8:26 AM UTC.

Around 2:11 PM UTC, down again. Around 2:30 PM UTC, up again.

2
submitted 9 months ago* (last edited 9 months ago) by VioneT to c/perchance
 

If you are importing a generator that imports a AI-Powered Plugin (i.e. ai-text-plugin or text-to-image-plugin or both).

Please note that it would add Advertisements in your generator, even if you aren't using the AI-Powered Plugin from the imported generator. This is due to the AI-Powered Plugins being sustained by advertisements.

 

I'm having an issue with the Perchance AI Character Chat. When I try to export my data - threads and/or all data - it gets stuck on the "Exporting thread..." screen and then, finally, crashes the whole browser. Just two days ago I was still able to export my data just fine.

Anybody have this same issue or, more importantly, know how to fix it?

I'm running Ubuntu LTS 22.04, browser is Chromium 120.0.6099.71 (64-bit)

Posted by Kaarnikkainen on this Reddit Post.

I tested on a VirtualBox with same Ubuntu and Chromium Version, it seem to have exported successfully on my end (though I was able to just export a simple character and a couple of chat messages on the thread).

4
submitted 11 months ago* (last edited 10 months ago) by VioneT to c/perchance
 

This is reported by Lamatiel on Discord.

Using the external lore file (lore book) doesn't properly get saved/used. The manual lore input works just fine.

Here are some fixes that I made in this copy of the page

  • Line 7777 @ HTML Panel - m.text to m.text.split('\n').join('\n\n') to have proper empty lines per lore entry on the textarea display.
  • Line 7783 @ HTML Panel - e.text to e.text.split('\n').join('\n\n'), same reason as above, so even without reloading the URLs the formatting would be good.
  • Added let newLoreBookEntries = result.loreBookUrlEntriesText.replace(/\r/g, "").split(/\n{2,}/).map(e => e.trim()).filter(e => e); after Line 7790 @ HTML Panel to parse the lore from the lorebook URL files.
  • Added newLoreEntries = newLoreEntries.concat(newLoreBookEntries) to combine the lore from manual entry and lorebook URL entries, added after the previous line.
  • Line 7816 @ HTML Panel - originalLoreEntriesText !== result.loreEntriesText to originalLoreEntriesText !== newLoreEntries.join("\n\n"), this would compare the new lore entries to the original one better since the old comparison only compares the manual lore entries.

Some notes:

  • Upon saving the character after writing the lorebook URLs on the Character Edit, the lore doesn't apply immediately. We need to go to /lore, show the character specific lore, then reload the URLs, then save, for the lorebook URLs to apply.
  • Removing the lorebook URLs doesn't remove the lore from that URL from the current lore list, we need to manually remove it.
view more: ‹ prev next ›