Pavankalyan
commited on
Commit
Β·
603e12c
1
Parent(s):
3578aec
Update app.py
Browse files
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 |
-
|
20 |
-
return
|
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 |
|