Zekun Wu commited on
Commit
1b72bc4
1 Parent(s): 333848e
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -201,7 +201,7 @@ def main_app():
201
 
202
  ratings = {}
203
  for criterion, description in criteria.items():
204
- ratings[criterion] = st.slider(f"{criterion}: {description}", 0, 10, 5)
205
 
206
  feedback = st.text_input("Provide additional feedback on the response:")
207
 
@@ -355,7 +355,7 @@ def sidebar_components():
355
  }
356
  ratings = {}
357
  for criterion, description in criteria.items():
358
- ratings[criterion] = st.sidebar.slider(f"{criterion}: {description}", 0, 10, 5)
359
 
360
  # Ask for feedback
361
  feedback = st.sidebar.text_input("Provide additional feedback on the response:")
 
201
 
202
  ratings = {}
203
  for criterion, description in criteria.items():
204
+ ratings[criterion] = st.slider(f"{criterion}: {description}", 0, 10, 5,key=f"coach {criterion}")
205
 
206
  feedback = st.text_input("Provide additional feedback on the response:")
207
 
 
355
  }
356
  ratings = {}
357
  for criterion, description in criteria.items():
358
+ ratings[criterion] = st.sidebar.slider(f"{criterion}: {description}", 0, 10, 5,key=f"report {criterion}")
359
 
360
  # Ask for feedback
361
  feedback = st.sidebar.text_input("Provide additional feedback on the response:")