import streamlit as st from modules.common.ollama_sum_refine import refine st.write("### Get an Ollama Response ✨") text = st.text_area("Input your Text tHere", height=300) @st.cache_data def summarize(content): return refine(content) if text: response = summarize(text) response