Skip to content

Commit

Permalink
TEXT: add gpt text fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed May 10, 2024
1 parent 46a7712 commit e91109b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/gpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def get_text(num_retries = 10):
gpt_text = gpt_text.replace("Цитата дня", "<b>Цитата дня")
if "дня:" in gpt_text:
gpt_text = gpt_text.replace("дня:", "дня: </b>")
if "Факт дня: Факт дня:" in gpt_text:
gpt_text = gpt_text.replace("Факт дня: Факт дня:", "Факт дня:")
if "*" in gpt_text:
gpt_text = gpt_text.replace("*", "")
if "#" in gpt_text:
Expand Down

0 comments on commit e91109b

Please sign in to comment.