Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -363,11 +363,14 @@ schema_description = """
|
|
| 363 |
|
| 364 |
iface = gr.Interface(
|
| 365 |
fn=run_multi_agent_query,
|
| 366 |
-
inputs=gr.Textbox(lines=2, placeholder="Enter your natural language query here
|
| 367 |
outputs="text",
|
| 368 |
title="Multi-Agent SQL Generator",
|
| 369 |
-
description="Enter a natural language query to generate and execute a SQL query. E.g.
|
|
|
|
|
|
|
| 370 |
)
|
| 371 |
|
|
|
|
| 372 |
if __name__ == "__main__":
|
| 373 |
iface.launch()
|
|
|
|
| 363 |
|
| 364 |
iface = gr.Interface(
|
| 365 |
fn=run_multi_agent_query,
|
| 366 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter your natural language query here.(Which products sold the most in 2024))."),
|
| 367 |
outputs="text",
|
| 368 |
title="Multi-Agent SQL Generator",
|
| 369 |
+
description=("Enter a natural language query to generate and execute a SQL query. E.g. "
|
| 370 |
+
"Find the email_id of the top 5 customers who spent the most in 2024.\n\n"
|
| 371 |
+
+ schema_description)
|
| 372 |
)
|
| 373 |
|
| 374 |
+
|
| 375 |
if __name__ == "__main__":
|
| 376 |
iface.launch()
|