import streamlit as st from bertopic import BERTopic text=st.text_area("Enter customer feedback") topic_model=BERTopic.load("MaartenGr/BERTopic_Wikipedia") if text: results = topic_model(text) st.json(results)