Update
Browse files
app.py
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
from textblob import TextBlob
|
|
|
|
|
4 |
|
5 |
-
|
6 |
st.title("Spamd: Turkish Spam Detector")
|
7 |
-
|
8 |
-
st.
|
9 |
-
|
10 |
-
# -*- coding: utf-8 -*-
|
11 |
"""Spamd_SpamDetector_Turkish_BERT_22.09.2022.ipynb
|
12 |
|
13 |
Original file is located at
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
from textblob import TextBlob
|
4 |
+
import spacy
|
5 |
+
from spacytextblob.spacytextblob import SpacyTextBlob
|
6 |
|
7 |
+
st.set_page_config(layout='wide', initial_sidebar_state='expanded')
|
8 |
st.title("Spamd: Turkish Spam Detector")
|
9 |
+
st.markdown("Enter the text you'd like to analyze for spam.")
|
10 |
+
text = st.text_input("Enter the text you'd like to analyze for spam.")
|
11 |
+
|
|
|
12 |
"""Spamd_SpamDetector_Turkish_BERT_22.09.2022.ipynb
|
13 |
|
14 |
Original file is located at
|