File size: 700 Bytes
daea89d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)