Sarah Ciston
commited on
Commit
·
6e96799
1
Parent(s):
aabf015
add alt text
Browse files- sketch.js +2 -2
- tutorial.mdx +1 -1
sketch.js
CHANGED
@@ -104,8 +104,8 @@ new p5(function (p5) {
|
|
104 |
|
105 |
// TO-DO a model drop down list?
|
106 |
|
107 |
-
//
|
108 |
-
|
109 |
}
|
110 |
|
111 |
function addField(){
|
|
|
104 |
|
105 |
// TO-DO a model drop down list?
|
106 |
|
107 |
+
// alt-text description
|
108 |
+
describe(`Pink and black text on a white background with form inputs and two buttons. The text describes a p5.js Critical AI Prompt Battle tool that lets you run several AI chat prompts at once and compare their results. Use it to explore what models 'know' about various concepts, communities, and cultures. In the largest form input you can write a prompt to submit. In smaller inputs, you can write variables that will be inserted into that prompt as variations of the prompt when it is run through the model. There is a submit button, a button to add more variations, and when the model is run it adds text at the bottom showing the output results.`)
|
109 |
}
|
110 |
|
111 |
function addField(){
|
tutorial.mdx
CHANGED
@@ -59,7 +59,7 @@ var blankArray = [] // will be an array to insert a list of text values from mul
|
|
59 |
|
60 |
Set PREPROMPT = `Return an array of sentences. In each sentence, fill in the [BLANK] in the following sentence with each word I provide in the array ${blankArray}. Replace any [FILL] with an appropriate word of your choice.`
|
61 |
|
62 |
-
|
63 |
|
64 |
#### X. [PSEUDOCODE] Add async function runModel() wrapping HF API await. {// explain link to await} explain
|
65 |
|
|
|
59 |
|
60 |
Set PREPROMPT = `Return an array of sentences. In each sentence, fill in the [BLANK] in the following sentence with each word I provide in the array ${blankArray}. Replace any [FILL] with an appropriate word of your choice.`
|
61 |
|
62 |
+
<!-- A [BLANK] family travels to [FILL] and on the way encounters... -->
|
63 |
|
64 |
#### X. [PSEUDOCODE] Add async function runModel() wrapping HF API await. {// explain link to await} explain
|
65 |
|