File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44chatbot = ChatBot ("Chatpot" )
55
66trainer = ListTrainer (chatbot )
7- trainer .train ([
8- "Hi" ,
9- "Welcome, friend 🤗" ,
10- ])
11- trainer .train ([
12- "Are you a plant?" ,
13- "No, I'm the pot below the plant!" ,
14- ])
7+ trainer .train (
8+ [
9+ "Hi" ,
10+ "Welcome, friend 🤗" ,
11+ ]
12+ )
13+ trainer .train (
14+ [
15+ "Are you a plant?" ,
16+ "No, I'm the pot below the plant!" ,
17+ ]
18+ )
1519
1620exit_conditions = (":q" , "quit" , "exit" )
1721while True :
Original file line number Diff line number Diff line change 44chatbot = ChatBot ("Chatpot" )
55
66trainer = ListTrainer (chatbot )
7- trainer .train ([
8- "Hi" ,
9- "Welcome, friend 🤗" ,
10- ])
11- trainer .train ([
12- "Are you a plant?" ,
13- "No, I'm the pot below the plant!" ,
14- ])
7+ trainer .train (
8+ [
9+ "Hi" ,
10+ "Welcome, friend 🤗" ,
11+ ]
12+ )
13+ trainer .train (
14+ [
15+ "Are you a plant?" ,
16+ "No, I'm the pot below the plant!" ,
17+ ]
18+ )
1519
1620exit_conditions = (":q" , "quit" , "exit" )
1721while True :
Original file line number Diff line number Diff line change 44chatbot = ChatBot ("Chatpot" )
55
66trainer = ListTrainer (chatbot )
7- trainer .train ([
8- "Hi" ,
9- "Welcome, friend 🤗" ,
10- ])
11- trainer .train ([
12- "Are you a plant?" ,
13- "No, I'm the pot below the plant!" ,
14- ])
7+ trainer .train (
8+ [
9+ "Hi" ,
10+ "Welcome, friend 🤗" ,
11+ ]
12+ )
13+ trainer .train (
14+ [
15+ "Are you a plant?" ,
16+ "No, I'm the pot below the plant!" ,
17+ ]
18+ )
1519
1620exit_conditions = (":q" , "quit" , "exit" )
1721while True :
You can’t perform that action at this time.
0 commit comments