Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,9 @@ def predictSMSdata(test_text):
|
|
43 |
|
44 |
stemmerTR = TurkishStemmer()
|
45 |
|
46 |
-
text
|
|
|
|
|
47 |
if text:
|
48 |
out = predictSMSdata(text)
|
49 |
st.write("The category of SMS = " + out.upper())
|
|
|
43 |
|
44 |
stemmerTR = TurkishStemmer()
|
45 |
|
46 |
+
# adding the text that will show in the text box
|
47 |
+
default_value = "Aveadan SUPER bir Muzik Paketi! MAXI yaz, 5555e gonder"
|
48 |
+
text = st.text_area("enter some text!", default_value)
|
49 |
if text:
|
50 |
out = predictSMSdata(text)
|
51 |
st.write("The category of SMS = " + out.upper())
|