Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ classifier = pipeline("text-classification", model="mrm8488/bert-tiny-finetuned-
|
|
7 |
def main():
|
8 |
st.title("Spam Detection App")
|
9 |
|
10 |
-
# Text input for user to enter a message
|
11 |
user_input = st.text_input("Enter a message:")
|
12 |
|
13 |
if st.button("Check for Spam"):
|
@@ -20,4 +20,3 @@ def main():
|
|
20 |
|
21 |
if __name__ == "__main__":
|
22 |
main()
|
23 |
-
st.set_option('server.host', '0.0.0.0')
|
|
|
7 |
def main():
|
8 |
st.title("Spam Detection App")
|
9 |
|
10 |
+
# Text input for the user to enter a message
|
11 |
user_input = st.text_input("Enter a message:")
|
12 |
|
13 |
if st.button("Check for Spam"):
|
|
|
20 |
|
21 |
if __name__ == "__main__":
|
22 |
main()
|
|