Blaise-g commited on
Commit
45441d6
Β·
1 Parent(s): 7f98c49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def proc_submission(
79
  batch_length=token_batch_length,
80
  **settings,
81
  )
82
- if (model_type == "LongT5"):
83
  _summaries = summarize_via_tokenbatches(
84
  tr_in,
85
  model_tldr if (summary_type == "TLDR") else model_det,
 
79
  batch_length=token_batch_length,
80
  **settings,
81
  )
82
+ elif (model_type == "LongT5"):
83
  _summaries = summarize_via_tokenbatches(
84
  tr_in,
85
  model_tldr if (summary_type == "TLDR") else model_det,