Browse Source

v1.0
服务上线

罗俊辉 1 năm trước cách đây
mục cha
commit
57e0221f80
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      applications/pipeline.py

+ 1 - 1
applications/pipeline.py

@@ -129,4 +129,4 @@ def summary_articles(materials):
         response = json.loads(response.replace("\n", ""))
     except:
         response = json.loads(response.replace("'", '"'))
-    return response['title'], response['text']
+    return response['title'].replace("'", ""), response['text'].replace("'", '')