Spaces:
Sleeping
Sleeping
ayoni02 commited on
Commit ·
7882c89
1
Parent(s): 65d0075
lalaland
Browse files
app.py
CHANGED
|
@@ -6,7 +6,8 @@ def main():
|
|
| 6 |
text = st.text_input("Enter the text to classify: ")
|
| 7 |
if text:
|
| 8 |
results = mainn.content_moderator(text)
|
| 9 |
-
|
|
|
|
| 10 |
else:
|
| 11 |
st.write("Please enter some text to classify")
|
| 12 |
st.write("Waiting for input...")
|
|
|
|
| 6 |
text = st.text_input("Enter the text to classify: ")
|
| 7 |
if text:
|
| 8 |
results = mainn.content_moderator(text)
|
| 9 |
+
if results:
|
| 10 |
+
st.write(results)
|
| 11 |
else:
|
| 12 |
st.write("Please enter some text to classify")
|
| 13 |
st.write("Waiting for input...")
|