File size: 437 Bytes
0f4db48
cbbacc3
81f3976
 
 
cbbacc3
 
81f3976
 
 
 
 
 
044c7d2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()