Spaces:
Sleeping
Sleeping
File size: 331 Bytes
d9fdfda d45b0b7 d9fdfda d45b0b7 7882c89 d9fdfda |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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() |