Spaces:
Running
Running
pass new blanks var to multi run model function
Browse files
sketch.js
CHANGED
|
@@ -162,7 +162,7 @@ new p5(function (p5){
|
|
| 162 |
|
| 163 |
// call the function that runs the model for the task of your choice here
|
| 164 |
// make sure to use the PROMPT_INPUT as a parameter, or also the PREPROMPT if valid for that task
|
| 165 |
-
let outs = await textGenTask(PREPROMPT, PROMPT_INPUT)
|
| 166 |
console.log(outs)
|
| 167 |
|
| 168 |
// insert the model outputs into the paragraph
|
|
|
|
| 162 |
|
| 163 |
// call the function that runs the model for the task of your choice here
|
| 164 |
// make sure to use the PROMPT_INPUT as a parameter, or also the PREPROMPT if valid for that task
|
| 165 |
+
let outs = await textGenTask(PREPROMPT, PROMPT_INPUT, blankArray)
|
| 166 |
console.log(outs)
|
| 167 |
|
| 168 |
// insert the model outputs into the paragraph
|