Spaces:
Runtime error
Runtime error
add more examples
#1
by
loubnabnl
HF staff
- opened
- 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) {
|