EVANDROBATIST commited on
Commit
cbaa6d6
1 Parent(s): 280c758

Create app.py

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