Update app.py
Browse files
app.py
CHANGED
|
@@ -22,8 +22,6 @@ def translate(input, output, text):
|
|
| 22 |
"parameters": {
|
| 23 |
"return_full_text": True,
|
| 24 |
"do_sample": False,
|
| 25 |
-
"early_stopping": False,
|
| 26 |
-
"length_penalty": 0.0,
|
| 27 |
"max_new_tokens": 250,
|
| 28 |
},
|
| 29 |
"options": {
|
|
|
|
| 22 |
"parameters": {
|
| 23 |
"return_full_text": True,
|
| 24 |
"do_sample": False,
|
|
|
|
|
|
|
| 25 |
"max_new_tokens": 250,
|
| 26 |
},
|
| 27 |
"options": {
|