bunka-map / app.py
Charles De Dampierre
add repo
daea89d
raw
history blame
700 Bytes
import streamlit as st
# Description on the left side
st.sidebar.title('Description')
st.sidebar.write("Bunka Summarize & Visualize Information as a Cartography. The current Dataset is the following one: https://huggingface.co/datasets/yitingxie/rlhf-reward-datasets.")
st.sidebar.write("Have a look at the following package on GitHub: https://github.com/charlesdedampierre/BunkaTopics")
st.title('Bunka Map')
# Path to the HTML file containing the Plotly figure
html_file_path = "test.html" # Replace with your HTML file path
# Use the 'st.components' function to embed the HTML content
with open(html_file_path, 'r') as f:
html = f.read()
st.components.v1.html(html, width=800, height=800)