import streamlit as st # Function to set a background image from a URL def set_background_from_url(image_url): st.markdown( f""" """, unsafe_allow_html=True ) # Streamlit App st.title("Word Cloud Application") st.write("This application displays a word cloud with a custom background.") # Set background image from URL set_background_from_url("https://huggingface.co/spaces/tahirsher/wellbeing_GenAI/blob/main/1.png") st.header("Word Clouds Display") st.write("Use the images in your layout or add functionality.")