Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -181,7 +181,7 @@ with gr.Blocks() as demo:
|
|
| 181 |
"""
|
| 182 |
)
|
| 183 |
|
| 184 |
-
gr.LoginButton()
|
| 185 |
|
| 186 |
nb_questions = gr.Number(value=20)
|
| 187 |
|
|
@@ -193,7 +193,7 @@ with gr.Blocks() as demo:
|
|
| 193 |
|
| 194 |
run_button.click(
|
| 195 |
fn=run_and_submit_all,
|
| 196 |
-
inputs=[nb_questions],
|
| 197 |
outputs=[status_output, results_table]
|
| 198 |
)
|
| 199 |
|
|
|
|
| 181 |
"""
|
| 182 |
)
|
| 183 |
|
| 184 |
+
login_btn = gr.LoginButton()
|
| 185 |
|
| 186 |
nb_questions = gr.Number(value=20)
|
| 187 |
|
|
|
|
| 193 |
|
| 194 |
run_button.click(
|
| 195 |
fn=run_and_submit_all,
|
| 196 |
+
inputs=[nb_questions, login_btn],
|
| 197 |
outputs=[status_output, results_table]
|
| 198 |
)
|
| 199 |
|