Content-Mod-ZSC / app.py
ayoni02
first commit
d9fdfda
raw
history blame
305 Bytes
import streamlit as st
import main
def main():
text = st.text_input("Enter the text to classify: ")
if text:
results = main.content_moderator(text)
st.write(results)
else:
st.write("Please enter some text to classify")
st.write("Waiting for input...")
main()