Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ with gr.Blocks() as demo:
|
|
109 |
|
110 |
gr.Markdown("### Click on an example query:")
|
111 |
with gr.Row():
|
112 |
-
btn_example1 = gr.Button("Retrieve the top 15 records
|
113 |
btn_example2 = gr.Button("List all contracts in New York")
|
114 |
btn_example3 = gr.Button("Show top 5 departments by award amount")
|
115 |
btn_example4 = gr.Button("Execute: SELECT * from contract_data LIMIT 10;")
|
@@ -166,7 +166,7 @@ with gr.Blocks() as demo:
|
|
166 |
)
|
167 |
|
168 |
btn_example1.click(
|
169 |
-
fn=lambda: handle_example_click("
|
170 |
outputs=[sql_query_out, error_out, results_out, error_out]
|
171 |
)
|
172 |
btn_example2.click(
|
|
|
109 |
|
110 |
gr.Markdown("### Click on an example query:")
|
111 |
with gr.Row():
|
112 |
+
btn_example1 = gr.Button("Retrieve the top 15 records from contract_data where basetype is Award Notice, awardee has at least 12 characters, and popcity has more than 5 characters. Exclude the fields sub_tier, popzip, awardnumber, basetype, popstate, active, popcountry, type, countrycode, and popstreetaddress")
|
113 |
btn_example2 = gr.Button("List all contracts in New York")
|
114 |
btn_example3 = gr.Button("Show top 5 departments by award amount")
|
115 |
btn_example4 = gr.Button("Execute: SELECT * from contract_data LIMIT 10;")
|
|
|
166 |
)
|
167 |
|
168 |
btn_example1.click(
|
169 |
+
fn=lambda: handle_example_click("Retrieve the top 15 records from contract_data where basetype is Award Notice, awardee has at least 12 characters, and popcity has more than 5 characters. Exclude the fields sub_tier, popzip, awardnumber, basetype, popstate, active, popcountry, type, countrycode, and popstreetaddress"),
|
170 |
outputs=[sql_query_out, error_out, results_out, error_out]
|
171 |
)
|
172 |
btn_example2.click(
|