Update run.py
Browse files
run.py
CHANGED
@@ -39,8 +39,8 @@ def textToAb(sentences, article, topic_num, max_length):
|
|
39 |
print(title)
|
40 |
matrix = inference.inference_matrix(title)
|
41 |
|
42 |
-
|
43 |
|
44 |
output = util.formate_text(title_dict,outline_list)
|
45 |
|
46 |
-
return
|
|
|
39 |
print(title)
|
40 |
matrix = inference.inference_matrix(title)
|
41 |
|
42 |
+
outl,outline_list = outline.passage_outline(matrix,title)
|
43 |
|
44 |
output = util.formate_text(title_dict,outline_list)
|
45 |
|
46 |
+
return outl, output
|