Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 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 |
|