Browse Source

v1.0
服务上线

罗俊辉 1 year ago
parent
commit
e56e9f8687
1 changed files with 1 additions and 1 deletions
  1. 1 1
      applications/pipeline.py

+ 1 - 1
applications/pipeline.py

@@ -80,7 +80,7 @@ def generate_text(question):
     生成一篇小文章,文章需要有逻辑,有参考意义
     """
     text = kimi_ai(prompt)
-    return text.replace("\n", "").replace("*", "").replace("#", "").replace(":", "").replace('"', "")
+    return text.replace("\n", "").replace("*", "").replace("#", "").replace(":", "").replace('"', "").replace("'", "")
 
 
 # 第三步,清洗,筛选,总结, 生成文章