Toumaima commited on
Commit
7b1cfbd
·
verified ·
1 Parent(s): acb69b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -250,12 +250,7 @@ with gr.Blocks() as demo:
250
  """
251
  )
252
  gr.LoginButton()
253
- # Fake test data
254
- fake_user_data = {
255
- "name": "Test User",
256
- "email": "[email protected]",
257
- "provider": "google"}
258
-
259
  # Simulate OAuth profile for testing
260
  oauth_profile = gr.OAuthProfile(data=fake_user_data)
261
  test_checkbox = gr.Checkbox(label="Enable Test Mode (Skip Submission)", value=False)
@@ -266,7 +261,7 @@ with gr.Blocks() as demo:
266
  fn=run_and_submit_all,
267
  inputs=[oauth_profile, test_checkbox],
268
  outputs=[status_output, results_table]
269
- )
270
 
271
  if __name__ == "__main__":
272
  print("Launching Gradio Interface...")
 
250
  """
251
  )
252
  gr.LoginButton()
253
+
 
 
 
 
 
254
  # Simulate OAuth profile for testing
255
  oauth_profile = gr.OAuthProfile(data=fake_user_data)
256
  test_checkbox = gr.Checkbox(label="Enable Test Mode (Skip Submission)", value=False)
 
261
  fn=run_and_submit_all,
262
  inputs=[oauth_profile, test_checkbox],
263
  outputs=[status_output, results_table]
264
+ )
265
 
266
  if __name__ == "__main__":
267
  print("Launching Gradio Interface...")