Обновить parsers/universal.py
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -86,7 +86,7 @@ class UniversalParser(BaseParser):
|
|||||||
time_text = article.publish_date.strftime("%Y/%m/%d %H:%M:%S")
|
time_text = article.publish_date.strftime("%Y/%m/%d %H:%M:%S")
|
||||||
|
|
||||||
response_text = gpt_response_message(str(article.text), self.promt)
|
response_text = gpt_response_message(str(article.text), self.promt)
|
||||||
print(response_text)
|
# print(response_text)
|
||||||
if response_text:
|
if response_text:
|
||||||
update_bd_and_create_document(
|
update_bd_and_create_document(
|
||||||
response_text=response_text,
|
response_text=response_text,
|
||||||
|
|||||||
Reference in New Issue
Block a user