Update README.md
Browse files
README.md
CHANGED
|
@@ -30,7 +30,7 @@ const text = "Q: What is the capital of France?\nA: Paris\nQ: What is the capita
|
|
| 30 |
|
| 31 |
// Generate a response
|
| 32 |
const output = await generator(text, { max_new_tokens: 30 });
|
| 33 |
-
console.log(
|
| 34 |
```
|
| 35 |
|
| 36 |
<details>
|
|
|
|
| 30 |
|
| 31 |
// Generate a response
|
| 32 |
const output = await generator(text, { max_new_tokens: 30 });
|
| 33 |
+
console.log(output[0].generated_text);
|
| 34 |
```
|
| 35 |
|
| 36 |
<details>
|