Spaces:
Build error
Build error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -144,7 +144,13 @@ if st.session_state.page == "evaluation":
|
|
| 144 |
client = gspread.authorize(creds)
|
| 145 |
|
| 146 |
sh = client.open('Results_woodAI').worksheet('test')
|
| 147 |
-
row = f"{st.session_state.user_name},{confidence},{st.session_state.list_pair_ID},{correct_guess}\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
sh.append_row(row)
|
| 149 |
|
| 150 |
|
|
|
|
| 144 |
client = gspread.authorize(creds)
|
| 145 |
|
| 146 |
sh = client.open('Results_woodAI').worksheet('test')
|
| 147 |
+
# row = f"{st.session_state.user_name},{confidence},{st.session_state.list_pair_ID},{correct_guess}\n"
|
| 148 |
+
row = [
|
| 149 |
+
st.session_state.user_name,
|
| 150 |
+
confidence,
|
| 151 |
+
",".join(map(str, st.session_state.list_pair_ID)),
|
| 152 |
+
",".join(map(str, correct_guess))
|
| 153 |
+
]
|
| 154 |
sh.append_row(row)
|
| 155 |
|
| 156 |
|