ashrestha commited on
Commit
81b6ae4
1 Parent(s): 79b6ab8
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -6,10 +6,10 @@ from transformers import pipeline
6
  classifier = pipeline("zero-shot-classification",
7
  model="valhalla/distilbart-mnli-12-1")
8
 
9
- with st.form('inputs') as form:
10
- input_text = form.text_area("Enter your sample")
11
- input_label = form.text_input("Enter labels", placeholder="support, help, important")
12
- submit_button = form.form_submit_button(label='Submit')
13
 
14
  if submit_button:
15
 
 
6
  classifier = pipeline("zero-shot-classification",
7
  model="valhalla/distilbart-mnli-12-1")
8
 
9
+ with st.form('inputs'):
10
+ input_text = st.text_area("Enter your sample")
11
+ input_label = st.text_input("Enter labels", placeholder="support, help, important")
12
+ submit_button = st.form_submit_button(label='Submit')
13
 
14
  if submit_button:
15