bwilkie commited on
Commit
8c83ad5
·
verified ·
1 Parent(s): 6e46681

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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