davidmezzetti
commited on
Commit
•
6a67c48
1
Parent(s):
0a6ea65
Update app.py
Browse files
app.py
CHANGED
@@ -349,11 +349,11 @@ class Application:
|
|
349 |
tasks.append(Task(lambda x: self.pipelines["summary"](x, **self.components["summary"])))
|
350 |
|
351 |
elif wtype == "tabular":
|
352 |
-
self.pipelines[wtype] = Tabular(**self.components[
|
353 |
tasks.append(Task(self.pipelines[wtype]))
|
354 |
|
355 |
elif wtype == "textractor":
|
356 |
-
self.pipelines[wtype] = Textractor(**self.components[
|
357 |
tasks.append(UrlTask(self.pipelines[wtype]))
|
358 |
|
359 |
elif wtype == "translation":
|
|
|
349 |
tasks.append(Task(lambda x: self.pipelines["summary"](x, **self.components["summary"])))
|
350 |
|
351 |
elif wtype == "tabular":
|
352 |
+
self.pipelines[wtype] = Tabular(**self.components[wtype])
|
353 |
tasks.append(Task(self.pipelines[wtype]))
|
354 |
|
355 |
elif wtype == "textractor":
|
356 |
+
self.pipelines[wtype] = Textractor(**self.components[wtype])
|
357 |
tasks.append(UrlTask(self.pipelines[wtype]))
|
358 |
|
359 |
elif wtype == "translation":
|