Spaces:
Running
Running
add more examples (#1)
Browse files- add more examples (f66c3c2b432f335e114251a8c44549baea20a863)
Co-authored-by: Loubna Ben Allal <[email protected]>
- src/routes/+page.svelte +3 -1
src/routes/+page.svelte
CHANGED
|
@@ -18,9 +18,11 @@
|
|
| 18 |
let pendingRequest: string | null = null;
|
| 19 |
|
| 20 |
const promptExamples = [
|
| 21 |
-
"What is the capital of France?",
|
| 22 |
"Tell me a story about a cat.",
|
| 23 |
"Write a poem about the ocean.",
|
|
|
|
|
|
|
|
|
|
| 24 |
]
|
| 25 |
|
| 26 |
async function setPrompt(prompt: string) {
|
|
|
|
| 18 |
let pendingRequest: string | null = null;
|
| 19 |
|
| 20 |
const promptExamples = [
|
|
|
|
| 21 |
"Tell me a story about a cat.",
|
| 22 |
"Write a poem about the ocean.",
|
| 23 |
+
"What is refraction?",
|
| 24 |
+
"Explain thermal conductivity",
|
| 25 |
+
"What is Newton's first law of motion?",
|
| 26 |
]
|
| 27 |
|
| 28 |
async function setPrompt(prompt: string) {
|