Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ with gr.Blocks() as app:
|
|
115 |
with gr.Row():
|
116 |
gr.HTML("<h1 style='text-align: center;'>Welcome to Biryani Hub</h1>")
|
117 |
|
118 |
-
with gr.Row(visible=True
|
119 |
with gr.Column():
|
120 |
login_email = gr.Textbox(label="Email")
|
121 |
login_password = gr.Textbox(label="Password", type="password")
|
@@ -123,7 +123,7 @@ with gr.Blocks() as app:
|
|
123 |
signup_button = gr.Button("Go to Signup")
|
124 |
login_output = gr.Textbox(label="Status")
|
125 |
|
126 |
-
with gr.Row(visible=False
|
127 |
with gr.Column():
|
128 |
signup_name = gr.Textbox(label="Name")
|
129 |
signup_email = gr.Textbox(label="Email")
|
@@ -133,9 +133,10 @@ with gr.Blocks() as app:
|
|
133 |
login_redirect = gr.Button("Go to Login")
|
134 |
signup_output = gr.Textbox(label="Status")
|
135 |
|
136 |
-
with gr.Row(visible=False
|
137 |
-
|
138 |
-
|
|
|
139 |
|
140 |
with gr.Row(visible=False) as footer:
|
141 |
gr.HTML("<footer style='text-align: center;'>Thank you! Welcome again!</footer>")
|
|
|
115 |
with gr.Row():
|
116 |
gr.HTML("<h1 style='text-align: center;'>Welcome to Biryani Hub</h1>")
|
117 |
|
118 |
+
with gr.Row(visible=True) as login_page:
|
119 |
with gr.Column():
|
120 |
login_email = gr.Textbox(label="Email")
|
121 |
login_password = gr.Textbox(label="Password", type="password")
|
|
|
123 |
signup_button = gr.Button("Go to Signup")
|
124 |
login_output = gr.Textbox(label="Status")
|
125 |
|
126 |
+
with gr.Row(visible=False) as signup_page:
|
127 |
with gr.Column():
|
128 |
signup_name = gr.Textbox(label="Name")
|
129 |
signup_email = gr.Textbox(label="Email")
|
|
|
133 |
login_redirect = gr.Button("Go to Login")
|
134 |
signup_output = gr.Textbox(label="Status")
|
135 |
|
136 |
+
with gr.Row(visible=False) as menu_page:
|
137 |
+
with gr.Column():
|
138 |
+
preference = gr.Radio(choices=["All", "Veg", "Non-Veg"], label="Filter Preference", value="All")
|
139 |
+
menu_output = gr.HTML()
|
140 |
|
141 |
with gr.Row(visible=False) as footer:
|
142 |
gr.HTML("<footer style='text-align: center;'>Thank you! Welcome again!</footer>")
|