Spaces:
Sleeping
Sleeping
{mind_map_markdown}
Browse files
app.py
CHANGED
@@ -461,12 +461,12 @@ def generate_mind_map(df_string):
|
|
461 |
return mind_map
|
462 |
|
463 |
def get_mind_map_html(mind_map):
|
464 |
-
mind_map.replace("```markdown", "").replace("```", "")
|
465 |
|
466 |
mind_map_html = f"""
|
467 |
<div class="markmap">
|
468 |
<script type="text/template">
|
469 |
-
{
|
470 |
</script>
|
471 |
</div>
|
472 |
"""
|
|
|
461 |
return mind_map
|
462 |
|
463 |
def get_mind_map_html(mind_map):
|
464 |
+
mind_map_markdown = mind_map.replace("```markdown", "").replace("```", "")
|
465 |
|
466 |
mind_map_html = f"""
|
467 |
<div class="markmap">
|
468 |
<script type="text/template">
|
469 |
+
{mind_map_markdown}
|
470 |
</script>
|
471 |
</div>
|
472 |
"""
|