chatbot1 / main.py
Daniel
Create main.py
8eeb24b
raw
history blame contribute delete
279 Bytes
from transformers import pipeline, Conversation
converse = pipeline("conversational")
conversation_1 = Conversation("Going to the movies tonight - any suggestions?")
conversation_2 = Conversation("What's the last book you have read?")
converse([conversation_1, conversation_2])