Spaces:
Runtime error
Runtime error
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',' ') | |
text_ar = text_ar.split('.') | |
for text in text_ar: | |
lis = creator(text) | |
for item in lis: | |
st.text(item) | |