Update app.py
Browse files
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:
|