Spaces:
Runtime error
Runtime error
kasand
commited on
Commit
•
fa7133d
1
Parent(s):
507c6de
test
Browse files- app.py +1 -2
- workflows/config.yml +2 -2
app.py
CHANGED
@@ -47,10 +47,9 @@ class Process:
|
|
47 |
"""
|
48 |
|
49 |
tasks = []
|
50 |
-
|
51 |
for component in components:
|
52 |
component = dict(component)
|
53 |
-
wtype = component.pop(type)
|
54 |
self.components[wtype] = component
|
55 |
|
56 |
if wtype == "embeddings":
|
|
|
47 |
"""
|
48 |
|
49 |
tasks = []
|
|
|
50 |
for component in components:
|
51 |
component = dict(component)
|
52 |
+
wtype = component.pop("type")
|
53 |
self.components[wtype] = component
|
54 |
|
55 |
if wtype == "embeddings":
|
workflows/config.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
file: ag_news1.yml
|
3 |
-
|
4 |
file: ag_news2.yml
|
|
|
1 |
+
name: Search ag_news for wars
|
2 |
file: ag_news1.yml
|
3 |
+
name: Summary article
|
4 |
file: ag_news2.yml
|