Pavankalyan commited on
Commit
603e12c
Β·
1 Parent(s): 3578aec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ def greet(name):
16
  repetition_penalty=2.5,
17
  length_penalty=1.0,
18
  early_stopping=True)
19
- #return tokenizer.decode(outputs[0],skip_special_tokens=True, clean_up_tokenization_spaces=True)
20
- return inp
21
 
22
 
23
 
 
16
  repetition_penalty=2.5,
17
  length_penalty=1.0,
18
  early_stopping=True)
19
+ fin = tokenizer.decode(outputs[0],skip_special_tokens=True, clean_up_tokenization_spaces=True)
20
+ return str(fin)
21
 
22
 
23