Spaces:
Running
Running
f typo
Browse files
sketch.js
CHANGED
|
@@ -66,7 +66,7 @@ async function textGenTask(pre, prompts){
|
|
| 66 |
|
| 67 |
// Create concatenated prompt array including preprompt and all variable prompts
|
| 68 |
// let promptArray = []
|
| 69 |
-
let PROMPTS =
|
| 70 |
|
| 71 |
// // Fill in blanks from our sample prompt and make new prompts using our variable list 'blanksArray'
|
| 72 |
// blanks.forEach(b => {
|
|
|
|
| 66 |
|
| 67 |
// Create concatenated prompt array including preprompt and all variable prompts
|
| 68 |
// let promptArray = []
|
| 69 |
+
let PROMPTS = prompts.unshift(pre) //adds the preprompt to the front of the prompts list
|
| 70 |
|
| 71 |
// // Fill in blanks from our sample prompt and make new prompts using our variable list 'blanksArray'
|
| 72 |
// blanks.forEach(b => {
|