selamw commited on
Commit
e73c139
·
verified ·
1 Parent(s): 4d0bb56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def convert_to_markdown(input_text):
30
  # Bold the keywords
31
  for word in bold_words:
32
  content = content.replace(word, f'\n\n**{word}\n')
33
- # content = content.replace(f'** ', f' ')
34
 
35
  # Construct the Markdown output with headings
36
  formatted_output = f"**{title}**{content}"
 
30
  # Bold the keywords
31
  for word in bold_words:
32
  content = content.replace(word, f'\n\n**{word}\n')
33
+ content = content.replace(f': **', f':**')
34
 
35
  # Construct the Markdown output with headings
36
  formatted_output = f"**{title}**{content}"