Spaces:
Sleeping
Sleeping
Upload dashboard.py
Browse files- dashboard.py +2 -2
dashboard.py
CHANGED
@@ -409,10 +409,10 @@ def CreatePage1():
|
|
409 |
#with open(AECO_topics_over_time_file_path, 'r', encoding='utf-8') as file:
|
410 |
# html_content = file.read()
|
411 |
# Use an iframe to load the local HTML file
|
412 |
-
iframe_html = f'<iframe src="{
|
413 |
# Create an HTML pane to render the content
|
414 |
html_pane = pn.pane.HTML(iframe_html , sizing_mode='stretch_both')
|
415 |
-
return pn.Column(pn.pane.Markdown(" ## AECO
|
416 |
|
417 |
|
418 |
def CreatePage2():
|
|
|
409 |
#with open(AECO_topics_over_time_file_path, 'r', encoding='utf-8') as file:
|
410 |
# html_content = file.read()
|
411 |
# Use an iframe to load the local HTML file
|
412 |
+
iframe_html = f'<iframe src="{AECO_topic_map_path}" width="1200px" height="1800px"></iframe>'
|
413 |
# Create an HTML pane to render the content
|
414 |
html_pane = pn.pane.HTML(iframe_html , sizing_mode='stretch_both')
|
415 |
+
return pn.Column(pn.pane.Markdown(" ## AECO Topic Map "), html_pane, align="center")
|
416 |
|
417 |
|
418 |
def CreatePage2():
|