Skip to content

Commit

Permalink
fix: fixup previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarIthawi committed Sep 5, 2024
1 parent be50b94 commit d7c9d8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions html-gpt-hack.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Embed me into Open edX using the following script snippet:
"============ END OF USER HTML ==============", edit the html to match the provided prompt.
`;

if (getMCE().getContent().trim().length > 50) {
if (getMCE().getContent().trim().length > 20) {
prompt = `
Given the HTML below:
Expand All @@ -85,7 +85,6 @@ Embed me into Open edX using the following script snippet:
`
}


basePrompter(system, prompt, callback);
}

Expand Down

0 comments on commit d7c9d8c

Please sign in to comment.