TrungNQ commited on
Commit
a3ac2b0
·
verified ·
1 Parent(s): 6874f75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -126,12 +126,12 @@ from transformers import AutoModelForCausalLM, AutoTokenizer,BlenderbotForCondit
126
  import torch
127
 
128
 
129
- #chat_tkn = AutoTokenizer.from_pretrained("microsoft/DialoGPT-medium")
130
- #mdl = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-medium")
131
 
132
 
133
- chat_tkn = AutoTokenizer.from_pretrained("facebook/blenderbot-400M-distill")
134
- mdl = BlenderbotForConditionalGeneration.from_pretrained("facebook/blenderbot-400M-distill")
135
 
136
  def converse(user_input, chat_history=[]):
137
 
 
126
  import torch
127
 
128
 
129
+ chat_tkn = AutoTokenizer.from_pretrained("microsoft/DialoGPT-medium")
130
+ mdl = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-medium")
131
 
132
 
133
+ #chat_tkn = AutoTokenizer.from_pretrained("facebook/blenderbot-400M-distill")
134
+ #mdl = BlenderbotForConditionalGeneration.from_pretrained("facebook/blenderbot-400M-distill")
135
 
136
  def converse(user_input, chat_history=[]):
137