Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,6 @@ st.title("What's the category?")
|
|
7 |
text = st.text_input("Enter words")
|
8 |
|
9 |
candidate_labels = ['lifestyle', 'technology', 'entertainment', 'news']
|
10 |
-
res = classifier(
|
11 |
|
12 |
st.markdown(f'Well here you go: {res}')
|
|
|
7 |
text = st.text_input("Enter words")
|
8 |
|
9 |
candidate_labels = ['lifestyle', 'technology', 'entertainment', 'news']
|
10 |
+
res = classifier("Today is a good day to have a good day", candidate_labels)
|
11 |
|
12 |
st.markdown(f'Well here you go: {res}')
|