Spaces:
Sleeping
Sleeping
elibrowne commited on
Commit ·
7f0d971
1
Parent(s): 5c9b5e4
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 |
-
gr.
|
| 189 |
}
|
| 190 |
else:
|
| 191 |
return {
|
| 192 |
-
gr.
|
| 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 |
+
selection: gr.Button("Next question").click(fn = toggle, inputs = None, outputs = [scores_p, scores_g, evals, question])
|
| 189 |
}
|
| 190 |
else:
|
| 191 |
return {
|
| 192 |
+
selection: gr.Button("Next question").click(fn = toggle, inputs = None, 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])
|