Serj commited on
Commit
242b995
1 Parent(s): c4b400a

used wrong method

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ input = st.text_area("text", value=text)
19
  prompt_options = st.text_area("prompt_options", value="# renew subscription # account deletion # cancel subscription # resume subscription # refund requests # other # general # item damaged # malfunction # hello # intro # question")
20
  is_clicked = st.button("Submit", key="submit smile")
21
  if is_clicked:
22
- output = model.predict(input, prompt_options)
23
  st.write(output)
24
 
25
  st.title("Complex labels")
 
19
  prompt_options = st.text_area("prompt_options", value="# renew subscription # account deletion # cancel subscription # resume subscription # refund requests # other # general # item damaged # malfunction # hello # intro # question")
20
  is_clicked = st.button("Submit", key="submit smile")
21
  if is_clicked:
22
+ output = model.structured_predict(input, prompt_options)
23
  st.write(output)
24
 
25
  st.title("Complex labels")