xnetba commited on
Commit
3f04708
1 Parent(s): aa239df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
2
  import torch
3
 
4
  #set up the model
5
- tokenizer = AutoTokenizer.from_pretrained("nlpaueb/legal-bert-small-uncased")
6
- model = AutoModelForCausalLM.from_pretrained("nlpaueb/legal-bert-small-uncased")
7
 
8
  #Defining a predict function
9
  def predict(input, history=[]):
 
2
  import torch
3
 
4
  #set up the model
5
+ tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-large")
6
+ model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-large")
7
 
8
  #Defining a predict function
9
  def predict(input, history=[]):