davidmezzetti commited on
Commit
65a4103
·
1 Parent(s): 46f4103

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,9 +22,9 @@ class Application:
22
  Creates a new application.
23
  """
24
 
25
- self.textract = Textractor(paragraphs=True, minlength=100, join=True)
26
- self.summary = Summary("sshleifer/distilbart-cnn-12-6")
27
- self.workflow = Workflow([UrlTask(self.textract), Task(self.summary)])
28
 
29
  def run(self):
30
  """
 
22
  Creates a new application.
23
  """
24
 
25
+ textract = Textractor(paragraphs=True, minlength=100, join=True)
26
+ summary = Summary("sshleifer/distilbart-cnn-12-6")
27
+ self.workflow = Workflow([UrlTask(textract), Task(summary)])
28
 
29
  def run(self):
30
  """