karthick0812 commited on
Commit
8182de5
1 Parent(s): f87dde4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -6,9 +6,7 @@ classifier = pipeline(task="text-classification", model="SamLowe/roberta-base-go
6
 
7
  sentences = st.text_input('Enter Your Sentences')
8
 
9
- button = st.button('Submit')
10
-
11
- if button :
12
  model_outputs = classifier(sentences)
13
  st.write(model_outputs[0])
14
  # produces a list of dicts for each of the labels
 
6
 
7
  sentences = st.text_input('Enter Your Sentences')
8
 
9
+ if st.button('Submit'):
 
 
10
  model_outputs = classifier(sentences)
11
  st.write(model_outputs[0])
12
  # produces a list of dicts for each of the labels