Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def convert_to_markdown(input_text):
|
|
32 |
# Bold the keywords
|
33 |
for word in bold_words:
|
34 |
content = content.replace(word, f'\n**{word}**\n')
|
35 |
-
|
36 |
|
37 |
# Construct the Markdown output with headings
|
38 |
formatted_output = f"**{title}{content}"
|
|
|
32 |
# Bold the keywords
|
33 |
for word in bold_words:
|
34 |
content = content.replace(word, f'\n**{word}**\n')
|
35 |
+
content = content.replace(f'** ', f' ')
|
36 |
|
37 |
# Construct the Markdown output with headings
|
38 |
formatted_output = f"**{title}{content}"
|