Daniel commited on
Commit
8eeb24b
·
1 Parent(s): 62f0bdb

Create main.py

Browse files
Files changed (1) hide show
  1. main.py +7 -0
main.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from transformers import pipeline, Conversation
2
+
3
+ converse = pipeline("conversational")
4
+
5
+ conversation_1 = Conversation("Going to the movies tonight - any suggestions?")
6
+ conversation_2 = Conversation("What's the last book you have read?")
7
+ converse([conversation_1, conversation_2])