Spaces:
Runtime error
Runtime error
Dmitry Kirsanov commited on
Commit ·
b89a17d
1
Parent(s): 01c53a4
fix
Browse files- understand.py +2 -2
understand.py
CHANGED
|
@@ -74,9 +74,9 @@ ACTORS:
|
|
| 74 |
|
| 75 |
for line in lines:
|
| 76 |
line = line.strip()
|
| 77 |
-
if line.
|
| 78 |
current_list = "concepts"
|
| 79 |
-
elif line.
|
| 80 |
current_list = "actors"
|
| 81 |
elif current_list is not None:
|
| 82 |
if line.startswith("- "):
|
|
|
|
| 74 |
|
| 75 |
for line in lines:
|
| 76 |
line = line.strip()
|
| 77 |
+
if line.strip() == "CONCEPTS:":
|
| 78 |
current_list = "concepts"
|
| 79 |
+
elif line.strip() == "ACTORS:":
|
| 80 |
current_list = "actors"
|
| 81 |
elif current_list is not None:
|
| 82 |
if line.startswith("- "):
|