Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -131,14 +131,14 @@ if not load_dataset_schema():
|
|
131 |
# Gradio app UI
|
132 |
with gr.Blocks() as demo:
|
133 |
gr.Markdown("""
|
134 |
-
#
|
135 |
|
136 |
-
**Query
|
137 |
|
138 |
## Instructions
|
139 |
|
140 |
-
1. **
|
141 |
-
- `award greater than
|
142 |
- `department_ind_agency equals "Health and Human Services"`
|
143 |
2. **Generate SQL**: Click "Generate SQL" to see the SQL query that will be executed.
|
144 |
3. **Execute Query**: Click "Execute Query" to run the query and view the results.
|
|
|
131 |
# Gradio app UI
|
132 |
with gr.Blocks() as demo:
|
133 |
gr.Markdown("""
|
134 |
+
# Parquet SQL Query App
|
135 |
|
136 |
+
**Query data** in `sample_contract_df.parquet` using DuckDB and natural language.
|
137 |
|
138 |
## Instructions
|
139 |
|
140 |
+
1. **Describe the data you want to retrieve**: For example:
|
141 |
+
- `award greater than 1000000`
|
142 |
- `department_ind_agency equals "Health and Human Services"`
|
143 |
2. **Generate SQL**: Click "Generate SQL" to see the SQL query that will be executed.
|
144 |
3. **Execute Query**: Click "Execute Query" to run the query and view the results.
|