nagasurendra commited on
Commit
e05dec2
·
verified ·
1 Parent(s): 194d4f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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", elem_id="name_input")
14
  with gr.Row():
15
- gr.Textbox(label="Email", placeholder="Enter your email", elem_id="email_input")
16
  with gr.Row():
17
- gr.Textbox(label="Password", placeholder="Enter your password", elem_id="password_input", 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()
 
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()