Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Oops, forgot to actually replace the placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
CncAnon1 committed Mar 9, 2023
1 parent 13706ac commit 4c91d53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/main.js
Expand Up @@ -865,8 +865,8 @@ async function Generate(type) {
whole_prompt = [main_prompt, nsfw_toggle_prompt, enhance_definitions_prompt, "\n\n", storyString]
}

// Join by a space
storyString = whole_prompt.join(" ")
// Join by a space and replace placeholders with real user/char names
storyString = replacePlaceholders(whole_prompt.join(" "))

let prompt_msg = { "role": "system", "content": storyString }
let examples_tosend = [];
Expand Down

0 comments on commit 4c91d53

Please sign in to comment.