Content-Mod-ZSC / app.py
ayoni02
lalaland
7882c89
raw
history blame contribute delete
331 Bytes
import streamlit as st
import mainn
def main():
text = st.text_input("Enter the text to classify: ")
if text:
results = mainn.content_moderator(text)
if results:
st.write(results)
else:
st.write("Please enter some text to classify")
st.write("Waiting for input...")
main()