Spaces:
Sleeping
Sleeping
used wrong method
Browse files
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.
|
| 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")
|