Spaces:
Running
Running
static form
Browse files
index.js
CHANGED
|
@@ -76,7 +76,7 @@ new p5(function (p5){
|
|
| 76 |
}
|
| 77 |
|
| 78 |
function makeFields(){
|
| 79 |
-
pField = p5.createInput(PROMPT_INPUT) // turns the string into an input; now access the text via PROMPT_INPUT.value()
|
| 80 |
pField.size(700)
|
| 81 |
pField.attribute('label', `Write a text prompt with at least one [MASK] that the model will fill in.`)
|
| 82 |
p5.createP(pField.attribute('label'))
|
|
|
|
| 76 |
}
|
| 77 |
|
| 78 |
function makeFields(){
|
| 79 |
+
let pField = p5.createInput(PROMPT_INPUT) // turns the string into an input; now access the text via PROMPT_INPUT.value()
|
| 80 |
pField.size(700)
|
| 81 |
pField.attribute('label', `Write a text prompt with at least one [MASK] that the model will fill in.`)
|
| 82 |
p5.createP(pField.attribute('label'))
|