Skip to content

Commit a630181

Browse files
remove output preview (messes up pre-filled notebooks)
1 parent 2084418 commit a630181

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

episodes/01-basicConcepts.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,14 @@ from transformers.utils import logging
7878
logging.set_verbosity_error()
7979

8080
text2text_generator = pipeline("text2text-generation")
81-
print(text2text_generator("question: What is 42 ? context: 42 is the answer to life, the universe and everything"))
8281

8382
```
8483

85-
```txt
86-
[{'generated_text': 'the answer to life, the universe and everything'}]
84+
```python
85+
print(text2text_generator("question: What is 42 ? context: 42 is the answer to life, the universe and everything"))
86+
8787
```
88+
8889
Feel free to prompt the chatbot with a few prompts of your own.
8990

9091

0 commit comments

Comments
 (0)