import streamlit as st from text2img import text2img st.text("Hello, world!") st.text("This is a test GUI for streamlit that uses text2img to make a png file.") png = text2img("Hello, world!") st.image(png, caption="Hello, world!", use_column_width=True)