Spaces:
Sleeping
Sleeping
elibrowne commited on
Commit ·
ac813df
1
Parent(s): 5338729
Toggle out of scope probably...
Browse files
app.py
CHANGED
|
@@ -185,11 +185,11 @@ with gr.Blocks(theme = theme) as user_eval:
|
|
| 185 |
}
|
| 186 |
else:
|
| 187 |
return {
|
| 188 |
-
toggle()
|
| 189 |
}
|
| 190 |
else:
|
| 191 |
return {
|
| 192 |
-
toggle()
|
| 193 |
}
|
| 194 |
|
| 195 |
btn_p.click(fn = next_p, inputs = [eval_1, eval_2, eval_3], outputs = [selection, scores_p, scores_g])
|
|
|
|
| 185 |
}
|
| 186 |
else:
|
| 187 |
return {
|
| 188 |
+
toggle(outputs = [scores_p, scores_g, evals, question])
|
| 189 |
}
|
| 190 |
else:
|
| 191 |
return {
|
| 192 |
+
toggle(outputs = [scores_p, scores_g, evals, question])
|
| 193 |
}
|
| 194 |
|
| 195 |
btn_p.click(fn = next_p, inputs = [eval_1, eval_2, eval_3], outputs = [selection, scores_p, scores_g])
|