Someman commited on
Commit
02a8a8a
1 Parent(s): 0b48e62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def title_generation(input: str):
38
 
39
 
40
  def generate(task: str, input: str):
41
- if len(input) < 20:
42
  if task == SUMMARIZATION:
43
  return summarization(input)
44
  elif task == TITLE_GENERATION:
 
38
 
39
 
40
  def generate(task: str, input: str):
41
+ if len(input) > 20:
42
  if task == SUMMARIZATION:
43
  return summarization(input)
44
  elif task == TITLE_GENERATION: