Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -138,8 +138,8 @@ with gr.Blocks() as demo:
|
|
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.
|
145 |
4. **View Dataset Schema**: Check the "Dataset Schema" tab to understand available columns and their types.
|
@@ -147,7 +147,7 @@ with gr.Blocks() as demo:
|
|
147 |
## Example Queries
|
148 |
|
149 |
- `award greater than 50000 and state equals "CA"`
|
150 |
-
- `awardee contains "Solutions" or award less than
|
151 |
- `department_ind_agency equals "Defense" and awarddate greater than "2023-01-01"`
|
152 |
""")
|
153 |
|
|
|
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.
|
145 |
4. **View Dataset Schema**: Check the "Dataset Schema" tab to understand available columns and their types.
|
|
|
147 |
## Example Queries
|
148 |
|
149 |
- `award greater than 50000 and state equals "CA"`
|
150 |
+
- `awardee contains "Solutions" or award less than 1000000`
|
151 |
- `department_ind_agency equals "Defense" and awarddate greater than "2023-01-01"`
|
152 |
""")
|
153 |
|