curiousgeorge1292 commited on
Commit
966b72d
·
verified ·
1 Parent(s): 9aef43e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -428,7 +428,7 @@ def verify_user(email):
428
  def save_and_switch_tab(email, name, professional_title, industry, target_audience, personal_background, company_url):
429
  # Logic for saving the user details
430
  message, _ = handle_user_details(email, name, professional_title, industry, target_audience, personal_background, company_url, action="save")
431
- return message, gr.update(selected=1)
432
 
433
  with gr.Blocks() as ui:
434
  with gr.Tabs() as tabs:
 
428
  def save_and_switch_tab(email, name, professional_title, industry, target_audience, personal_background, company_url):
429
  # Logic for saving the user details
430
  message, _ = handle_user_details(email, name, professional_title, industry, target_audience, personal_background, company_url, action="save")
431
+ return message, gr.Tabs.update(selected=1)
432
 
433
  with gr.Blocks() as ui:
434
  with gr.Tabs() as tabs: