Explorar el Código

v1.0
服务上线

罗俊辉 hace 1 año
padre
commit
2ac01a83c2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      deal/matchArticle_deal.py

+ 1 - 1
deal/matchArticle_deal.py

@@ -47,7 +47,7 @@ class MatchArticlesTask(object):
             """
             w_response = whisper(video_id)
             print(w_response)
-            text = w_response['text']
+            text = w_response['text'].replace("'", "")
             update_sql = f"""
             UPDATE {db_config}
             SET