Basshole commited on
Commit
c7e2b0d
·
verified ·
1 Parent(s): dcefb5c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -177,9 +177,9 @@ def get_model_answer(model_choice: str, final_prompt: str, question: str) -> str
177
  content_to_send = final_prompt + "\n\n" + question
178
 
179
  if model_choice == "ChatGPT 4o":
180
- return call_openai_api(content_to_send, model_name="gpt-4")
181
  elif model_choice == "ChatGPT o1":
182
- return call_openai_api(content_to_send, model_name="gpt-3.5-turbo")
183
  elif model_choice == "Claude 3.5 Sonnet":
184
  return call_claude_api(content_to_send)
185
  else:
 
177
  content_to_send = final_prompt + "\n\n" + question
178
 
179
  if model_choice == "ChatGPT 4o":
180
+ return call_openai_api(content_to_send, model_name="gpt-4o")
181
  elif model_choice == "ChatGPT o1":
182
+ return call_openai_api(content_to_send, model_name="o1")
183
  elif model_choice == "Claude 3.5 Sonnet":
184
  return call_claude_api(content_to_send)
185
  else: