Update app.py
Browse files
app.py
CHANGED
@@ -82,8 +82,8 @@ def proc_submission(
|
|
82 |
#tokenizer_led_det if (model_type == "LED" and summary_type == "Detailed") else tokenizer_det,
|
83 |
_summaries = summarize_via_tokenbatches(
|
84 |
tr_in,
|
85 |
-
model = model,
|
86 |
tokenizer_led_det if (model_type == "LED") else tokenizer_det,
|
|
|
87 |
batch_length=token_batch_length,
|
88 |
**settings,
|
89 |
)
|
|
|
82 |
#tokenizer_led_det if (model_type == "LED" and summary_type == "Detailed") else tokenizer_det,
|
83 |
_summaries = summarize_via_tokenbatches(
|
84 |
tr_in,
|
|
|
85 |
tokenizer_led_det if (model_type == "LED") else tokenizer_det,
|
86 |
+
model = model,
|
87 |
batch_length=token_batch_length,
|
88 |
**settings,
|
89 |
)
|