LeonceNsh commited on
Commit
40a0ccc
·
verified ·
1 Parent(s): 58cd232

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -66,7 +66,7 @@ def parse_query(nl_query):
66
  ]
67
 
68
  try:
69
- response = openai.chat.completions.create(
70
  model="gpt-4o-mini",
71
  messages=messages,
72
  temperature=0,
@@ -114,7 +114,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
114
  "List contracts where the award amount exceeds $5,000,000.",
115
  "Find the top 5 awardees by number of contracts.",
116
  "Display contracts awarded after 2020 in New York.",
117
- "What is the total award amount by state?"
 
118
  ]
119
  example_buttons = []
120
  for i, query in enumerate(example_queries):
 
66
  ]
67
 
68
  try:
69
+ response = openai.chat_completions.create(
70
  model="gpt-4o-mini",
71
  messages=messages,
72
  temperature=0,
 
114
  "List contracts where the award amount exceeds $5,000,000.",
115
  "Find the top 5 awardees by number of contracts.",
116
  "Display contracts awarded after 2020 in New York.",
117
+ "What is the total award amount by state?",
118
+ "Find all states where the total award amount exceeds $500,000,000."
119
  ]
120
  example_buttons = []
121
  for i, query in enumerate(example_queries):