Anil commited on
Commit
87a4dee
·
1 Parent(s): d32257c
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,12 +27,12 @@ def process_email(email, password):
27
  return f"Failed to call Lambda function: {str(e)}"
28
 
29
  iface = gr.Interface(
30
- process_email, # Replace with your function that processes email and password
31
  inputs=[
32
  gr.Textbox(label="Enter Email"),
33
  gr.Textbox(label="Enter Password", type="password")
34
  ],
35
- outputs="textbox", # Adjust if your function returns something different
36
  live=False,
37
  title="Email Processing Demo 1",
38
  description="Enter an email address and password for processing.",
 
27
  return f"Failed to call Lambda function: {str(e)}"
28
 
29
  iface = gr.Interface(
30
+ process_email,
31
  inputs=[
32
  gr.Textbox(label="Enter Email"),
33
  gr.Textbox(label="Enter Password", type="password")
34
  ],
35
+ outputs="textbox",
36
  live=False,
37
  title="Email Processing Demo 1",
38
  description="Enter an email address and password for processing.",