Spaces:
Sleeping
Sleeping
Commit
·
4618a86
1
Parent(s):
477fe76
add keys to inputs
Browse files
app.py
CHANGED
|
@@ -6,8 +6,8 @@ import streamlit as st
|
|
| 6 |
st.title("Arg Quality Ranker")
|
| 7 |
st.write("Enter an argument and topic to analyze argument quality:")
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
|
| 12 |
# if user_argument and user_topic:
|
| 13 |
# 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: "
|
|
|
|
| 6 |
st.title("Arg Quality Ranker")
|
| 7 |
st.write("Enter an argument and topic to analyze argument quality:")
|
| 8 |
|
| 9 |
+
user_argument = st.text_input("", key="argument")
|
| 10 |
+
user_topic = st.text_input("", key="topic")
|
| 11 |
|
| 12 |
# if user_argument and user_topic:
|
| 13 |
# 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: "
|