Bhaskar2611 commited on
Commit
6922e3f
·
verified ·
1 Parent(s): 7929a6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ with gr.Blocks(theme="soft") as demo:
8
  with gr.Row():
9
  name = gr.Textbox(label="Task Name")
10
  email = gr.Textbox(label="Your Email")
11
- phone = gr.Textbox(label="Phone (optional)")
12
 
13
  description = gr.Textbox(label="Task Description", lines=3)
14
  submit_btn = gr.Button("🧠 Get Deadline Suggestion")
@@ -16,7 +16,7 @@ with gr.Blocks(theme="soft") as demo:
16
 
17
  submit_btn.click(
18
  fn=agent.add_task,
19
- inputs=[name, description, email, phone],
20
  outputs=output
21
  )
22
 
 
8
  with gr.Row():
9
  name = gr.Textbox(label="Task Name")
10
  email = gr.Textbox(label="Your Email")
11
+ # Phone input removed
12
 
13
  description = gr.Textbox(label="Task Description", lines=3)
14
  submit_btn = gr.Button("🧠 Get Deadline Suggestion")
 
16
 
17
  submit_btn.click(
18
  fn=agent.add_task,
19
+ inputs=[name, description, email], # Removed phone
20
  outputs=output
21
  )
22