DataWizard9742 commited on
Commit
76ed0bb
·
verified ·
1 Parent(s): 43600c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -169,6 +169,7 @@ def generate_ai_report(df_summary: str, api_key: str = None, model: str = "gpt-4
169
  max_tokens=2000,
170
  temperature=0.7
171
  )
 
172
 
173
  return response.choices[0].message.content
174
 
@@ -237,10 +238,10 @@ def build_interface():
237
  )
238
 
239
  model_dropdown = gr.Dropdown(
240
- label="OpenAI Model",
241
- choices=["gpt-4.1-mini", "gpt-4.1"],
242
- value="gpt-4.1-mini",
243
- )
244
 
245
  sample_rows = gr.Slider(
246
  minimum=0,
 
169
  max_tokens=2000,
170
  temperature=0.7
171
  )
172
+
173
 
174
  return response.choices[0].message.content
175
 
 
238
  )
239
 
240
  model_dropdown = gr.Dropdown(
241
+ label="OpenAI Model",
242
+ choices=["gpt-4o-mini", "gpt-4o", "gpt-4.1-mini", "gpt-4.1"],
243
+ value="gpt-4o-mini",
244
+ )
245
 
246
  sample_rows = gr.Slider(
247
  minimum=0,