austen_em commited on
Commit
1c1f4be
·
1 Parent(s): 37c1758

get rid of last bit

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -11,8 +11,8 @@ user_argument = st.text_input("", key="argument")
11
  st.write("Topic:")
12
  user_topic = st.text_input("", key="topic")
13
 
14
- st.write("Score:")
15
- if user_argument and user_topic:
16
- user_input = f"Below is an argument and the topic it relates to. Please rate the quality of the argument on a scale of 0 to 1, where 0 is very poor and 1 is very good. \n ### Argument: {user_argument} \n ### Topic: {user_topic} \n ### Score: "
17
- result = arg_pipeline(user_input)
18
- st.write(result[0]["text"])
 
11
  st.write("Topic:")
12
  user_topic = st.text_input("", key="topic")
13
 
14
+ # st.write("Score:")
15
+ # if user_argument and user_topic:
16
+ # user_input = f"Below is an argument and the topic it relates to. Please rate the quality of the argument on a scale of 0 to 1, where 0 is very poor and 1 is very good. \n ### Argument: {user_argument} \n ### Topic: {user_topic} \n ### Score: "
17
+ # result = arg_pipeline(user_input)
18
+ # st.write(result[0]["text"])