Maxson52 commited on
Commit
1fe843b
·
1 Parent(s): a6c03b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,7 @@ st.title("What's the category?")
6
 
7
  text = st.text_input("Enter words")
8
 
9
- categories = ['lifestyle', 'technology', 'entertainment', 'news']
10
- res = classifier(text, categories)
11
 
12
  st.markdown(f'Well here you go: {res}')
 
6
 
7
  text = st.text_input("Enter words")
8
 
9
+ candidate_labels = ['lifestyle', 'technology', 'entertainment', 'news']
10
+ res = classifier(text, candidate_labels)
11
 
12
  st.markdown(f'Well here you go: {res}')