Blaise-g commited on
Commit
092679d
Β·
1 Parent(s): a5f542f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -70,7 +70,6 @@ def proc_submission(
70
  msg = None
71
 
72
  if summary_type == "TLDR":
73
- print('enter 1 loop')
74
  _summaries = summarize_via_tokenbatches(
75
  tr_in,
76
  model_led_tldr if (model_type == "LED") else model_tldr,
@@ -79,8 +78,7 @@ def proc_submission(
79
  **settings,
80
  )
81
 
82
- elif summary_type == "Detailed":
83
- print('enter 2 loop')
84
  _summaries = summarize_via_tokenbatches(
85
  tr_in,
86
  model_led_det if (model_type == "LED") else model_det,
 
70
  msg = None
71
 
72
  if summary_type == "TLDR":
 
73
  _summaries = summarize_via_tokenbatches(
74
  tr_in,
75
  model_led_tldr if (model_type == "LED") else model_tldr,
 
78
  **settings,
79
  )
80
 
81
+ else:
 
82
  _summaries = summarize_via_tokenbatches(
83
  tr_in,
84
  model_led_det if (model_type == "LED") else model_det,