Spaces:
Sleeping
Sleeping
Update dashboard.py
Browse files- dashboard.py +3 -1
dashboard.py
CHANGED
@@ -371,12 +371,14 @@ for the 16 macro-topics automatically detected by an optimized BerTopic model an
|
|
371 |
### Research Collaboration Networks: Authors
|
372 |
""", width=800), align="center")
|
373 |
|
|
|
|
|
374 |
def CreatePage2():
|
375 |
# Load the HTML content from the local file
|
376 |
#with open(AECO_topics_over_time_file_path, 'r', encoding='utf-8') as file:
|
377 |
# html_content = file.read()
|
378 |
# Use an iframe to load the local HTML file
|
379 |
-
iframe_html = f'<iframe src="{AECO_topics_over_time_file_path}"
|
380 |
# Create an HTML pane to render the content
|
381 |
html_pane = pn.pane.HTML(iframe_html , sizing_mode='stretch_width')
|
382 |
return pn.Column(pn.pane.Markdown(" ## AECO Macro Topics "), html_pane, align="center")
|
|
|
371 |
### Research Collaboration Networks: Authors
|
372 |
""", width=800), align="center")
|
373 |
|
374 |
+
|
375 |
+
#width="1200px" height="1500px"
|
376 |
def CreatePage2():
|
377 |
# Load the HTML content from the local file
|
378 |
#with open(AECO_topics_over_time_file_path, 'r', encoding='utf-8') as file:
|
379 |
# html_content = file.read()
|
380 |
# Use an iframe to load the local HTML file
|
381 |
+
iframe_html = f'<iframe src="{AECO_topics_over_time_file_path}"></iframe>'
|
382 |
# Create an HTML pane to render the content
|
383 |
html_pane = pn.pane.HTML(iframe_html , sizing_mode='stretch_width')
|
384 |
return pn.Column(pn.pane.Markdown(" ## AECO Macro Topics "), html_pane, align="center")
|