Spaces:
Runtime error
Runtime error
Commit
·
b1c9fcd
1
Parent(s):
d6f6113
Update app.py
Browse files
app.py
CHANGED
@@ -192,12 +192,12 @@ def predict(
|
|
192 |
def proc_submission(
|
193 |
input_text: str,
|
194 |
model_name: str,
|
195 |
-
num_beams: int = 3,
|
196 |
token_batch_length: int,
|
197 |
length_penalty: float,
|
198 |
repetition_penalty: float,
|
199 |
no_repeat_ngram_size: int,
|
200 |
predrop_stopwords: bool,
|
|
|
201 |
max_input_length: int = 6144,
|
202 |
):
|
203 |
"""
|
|
|
192 |
def proc_submission(
|
193 |
input_text: str,
|
194 |
model_name: str,
|
|
|
195 |
token_batch_length: int,
|
196 |
length_penalty: float,
|
197 |
repetition_penalty: float,
|
198 |
no_repeat_ngram_size: int,
|
199 |
predrop_stopwords: bool,
|
200 |
+
num_beams: int = 3,
|
201 |
max_input_length: int = 6144,
|
202 |
):
|
203 |
"""
|