Spaces:
Runtime error
Runtime error
Commit
•
0a1a5cd
1
Parent(s):
f7072b8
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,6 @@ text_input = st.text_input('Enter text to classify:', '')
|
|
19 |
submit_button = st.button('Classify')
|
20 |
|
21 |
# Define prediction function
|
22 |
-
|
23 |
-
|
24 |
def predict(text):
|
25 |
'''Predicts the label and confidence level of the input text.'''
|
26 |
# Preprocess the input text
|
|
|
19 |
submit_button = st.button('Classify')
|
20 |
|
21 |
# Define prediction function
|
|
|
|
|
22 |
def predict(text):
|
23 |
'''Predicts the label and confidence level of the input text.'''
|
24 |
# Preprocess the input text
|