Spaces:
Build error
Build error
| from typing import Dict, List | |
| import streamlit as st | |
| from pathlib import Path | |
| this_file = Path(__file__).resolve() | |
| parent_dir = this_file.parent.parent | |
| def main(): | |
| with open (parent_dir/"presentation.html", "r", encoding="utf-8") as f: | |
| html = f.read() | |
| st.html(html) | |
| # url = "parent_dir/"presentation.html)" | |
| # st.write("check out this [link](%s)" % url) | |
| # st.markdown("check out this [link](%s)" % url) | |
| main() |