Update app.py
Browse files
app.py
CHANGED
@@ -70,6 +70,7 @@ def proc_submission(
|
|
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,
|
@@ -79,6 +80,7 @@ def proc_submission(
|
|
79 |
)
|
80 |
|
81 |
elif summary_type == "Detailed":
|
|
|
82 |
_summaries = summarize_via_tokenbatches(
|
83 |
tr_in,
|
84 |
model_led_det if (model_type == "LED") else model_det,
|
|
|
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,
|
|
|
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,
|