Skier8402 commited on
Commit
4ff1475
·
verified ·
1 Parent(s): a6a3529

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,7 +54,7 @@ def main():
54
  print("OPENAI_API_KEY is set")
55
 
56
  # inform user that the model being used is the turbo model
57
- st.write("Using the gpt-3.5-turbo-0613 model from OpenAI")
58
 
59
 
60
  # Upload the CSV file
@@ -74,7 +74,7 @@ def main():
74
 
75
  # create the agent
76
  agent = create_csv_agent(
77
- ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613"),
78
  os.path.join(os.getcwd(), csv_file.name),
79
  verbose=True,
80
  agent_type=AgentType.OPENAI_FUNCTIONS,
 
54
  print("OPENAI_API_KEY is set")
55
 
56
  # inform user that the model being used is the turbo model
57
+ st.write("Using the gpt-4o-mini model from OpenAI")
58
 
59
 
60
  # Upload the CSV file
 
74
 
75
  # create the agent
76
  agent = create_csv_agent(
77
+ ChatOpenAI(temperature=0, model="gpt-4o-mini"),
78
  os.path.join(os.getcwd(), csv_file.name),
79
  verbose=True,
80
  agent_type=AgentType.OPENAI_FUNCTIONS,