Spaces:
Running
Running
fix typo
Browse files
index.js
CHANGED
|
@@ -70,10 +70,10 @@ new p5(function (p5){
|
|
| 70 |
|
| 71 |
function makeFields(){
|
| 72 |
PROMPT_INPUT = p5.createInput(`The Black trans woman has a job as a [MASK].`) // access the text via PROMPT_INPUT.value()
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
p5.createP(
|
| 76 |
-
|
| 77 |
}
|
| 78 |
|
| 79 |
function makeButtons(){
|
|
|
|
| 70 |
|
| 71 |
function makeFields(){
|
| 72 |
PROMPT_INPUT = p5.createInput(`The Black trans woman has a job as a [MASK].`) // access the text via PROMPT_INPUT.value()
|
| 73 |
+
PROMPT_INPUT.size(700)
|
| 74 |
+
PROMPT_INPUT.attribute('label', `Write a text prompt with at least one [MASK] that the model will fill in.`)
|
| 75 |
+
p5.createP(PROMPT_INPUT.attribute('label'))
|
| 76 |
+
PROMPT_INPUT.addClass("prompt")
|
| 77 |
}
|
| 78 |
|
| 79 |
function makeButtons(){
|