Update app.py
Browse files
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 |
-
|
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,
|