Shreyass334 commited on
Commit
05efe29
·
verified ·
1 Parent(s): a51c63e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -14
app.py CHANGED
@@ -240,20 +240,18 @@ with gr.Blocks(theme=theme, title="Enterprise SQL Assistant") as demo:
240
  debug_test_status = gr.Textbox(label="Debug Test Status", interactive=False)
241
 
242
  gr.Markdown("### 💡 Example Queries")
243
- gr.Examples(
244
- examples=[
245
- ["How many members are there?"],
246
- ["What is the total transaction amount?"],
247
- ["Show members with their account balances"],
248
- ["Which member has the highest balance?"],
249
- ["Show transaction trends over time"],
250
- ["Count of members by status"], # This should generate a chart
251
- ["Show me the first 10 rows"],
252
- ["What is the average age of members?"]
253
- ],
254
- inputs=question_input,
255
- label=""
256
- )
257
 
258
  with gr.Column(scale=2):
259
  gr.Markdown("### 📄 Results")
 
240
  debug_test_status = gr.Textbox(label="Debug Test Status", interactive=False)
241
 
242
  gr.Markdown("### 💡 Example Queries")
243
+ gr.Markdown("""
244
+ Try these example queries:
245
+
246
+ - How many members are there?
247
+ - What is the total transaction amount?
248
+ - Show members with their account balances
249
+ - Which member has the highest balance?
250
+ - Show transaction trends over time
251
+ - Count of members by status
252
+ - Show me the first 10 rows
253
+ - What is the average age of members?
254
+ """)
 
 
255
 
256
  with gr.Column(scale=2):
257
  gr.Markdown("### 📄 Results")