Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,13 +10,13 @@ with gr.Blocks() as demo:
|
|
| 10 |
with gr.Row():
|
| 11 |
gr.Markdown("### Signup Page")
|
| 12 |
with gr.Row():
|
| 13 |
-
gr.Textbox(label="Name", placeholder="Enter your name"
|
| 14 |
with gr.Row():
|
| 15 |
-
gr.Textbox(label="Email", placeholder="Enter your email"
|
| 16 |
with gr.Row():
|
| 17 |
-
gr.Textbox(label="Password", placeholder="Enter your password",
|
| 18 |
with gr.Row():
|
| 19 |
submit_button = gr.Button("Sign Up")
|
| 20 |
-
submit_button.click(signup, inputs=[
|
| 21 |
|
| 22 |
demo.launch()
|
|
|
|
| 10 |
with gr.Row():
|
| 11 |
gr.Markdown("### Signup Page")
|
| 12 |
with gr.Row():
|
| 13 |
+
name_input = gr.Textbox(label="Name", placeholder="Enter your name")
|
| 14 |
with gr.Row():
|
| 15 |
+
email_input = gr.Textbox(label="Email", placeholder="Enter your email")
|
| 16 |
with gr.Row():
|
| 17 |
+
password_input = gr.Textbox(label="Password", placeholder="Enter your password", type="password")
|
| 18 |
with gr.Row():
|
| 19 |
submit_button = gr.Button("Sign Up")
|
| 20 |
+
submit_button.click(signup, inputs=[name_input, email_input, password_input], outputs=gr.Textbox())
|
| 21 |
|
| 22 |
demo.launch()
|