LeonceNsh commited on
Commit
832f81a
·
verified ·
1 Parent(s): 5e6f4cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- # Local Parquet SQL Query App
135
 
136
- **Query and explore data** in `sample_contract_df.parquet` using DuckDB and natural language SQL queries.
137
 
138
  ## Instructions
139
 
140
- 1. **Enter a Natural Language Query**: Describe the data you want to retrieve. For example:
141
- - `award greater than 1000`
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.