import streamlit as st import generator from generator import * text_ar = st.text_area("Enter text:") if(st.button("Generate!")): text_ar = text_ar.replace("\n"," ").split('.') questions=[] for pairs in text_ar: questions.append(creator(text_ar)) for pair in questions: st.text(pair)