Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -420,12 +420,10 @@ def app():
|
|
| 420 |
inputs=[signup_name, signup_phone, signup_email, signup_password],
|
| 421 |
outputs=[signup_message, login_section, signup_section],
|
| 422 |
)
|
| 423 |
-
# Navigate to Signup Page
|
| 424 |
go_to_signup.click(
|
| 425 |
lambda: (gr.update(visible=False), gr.update(visible=True)),
|
| 426 |
outputs=[login_section, signup_section],
|
| 427 |
)
|
| 428 |
-
# Navigate Back to Login Page
|
| 429 |
go_to_login.click(
|
| 430 |
lambda: (gr.update(visible=True), gr.update(visible=False)),
|
| 431 |
outputs=[login_section, signup_section],
|
|
@@ -439,7 +437,6 @@ def app():
|
|
| 439 |
lambda: (gr.update(visible=True), gr.update(visible=False)),
|
| 440 |
outputs=[cart_section, menu_section],
|
| 441 |
)
|
| 442 |
-
# Navigate Back to Menu Page
|
| 443 |
back_to_menu_button.click(
|
| 444 |
lambda: (gr.update(visible=False), gr.update(visible=True)),
|
| 445 |
outputs=[cart_section, menu_section],
|
|
|
|
| 420 |
inputs=[signup_name, signup_phone, signup_email, signup_password],
|
| 421 |
outputs=[signup_message, login_section, signup_section],
|
| 422 |
)
|
|
|
|
| 423 |
go_to_signup.click(
|
| 424 |
lambda: (gr.update(visible=False), gr.update(visible=True)),
|
| 425 |
outputs=[login_section, signup_section],
|
| 426 |
)
|
|
|
|
| 427 |
go_to_login.click(
|
| 428 |
lambda: (gr.update(visible=True), gr.update(visible=False)),
|
| 429 |
outputs=[login_section, signup_section],
|
|
|
|
| 437 |
lambda: (gr.update(visible=True), gr.update(visible=False)),
|
| 438 |
outputs=[cart_section, menu_section],
|
| 439 |
)
|
|
|
|
| 440 |
back_to_menu_button.click(
|
| 441 |
lambda: (gr.update(visible=False), gr.update(visible=True)),
|
| 442 |
outputs=[cart_section, menu_section],
|