reshav1 commited on
Commit
9b1d780
·
verified ·
1 Parent(s): 68ac2cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,4 +6,4 @@ model = GPT2LMHeadModel.from_pretrained(model_id)
6
 
7
  text = "Hello"
8
 
9
- outputs = model(text)
 
6
 
7
  text = "Hello"
8
 
9
+ outputs = model(**encoded_text)