Blane187 commited on
Commit
ef37d1e
·
verified ·
1 Parent(s): 1a8916a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ openai.api_key = os.getenv("OPENAI_API_KEY")
9
  def chat_with_openai(input_text):
10
  try:
11
  response = openai.Completion.create(
12
- engine="gpt-4o", # Use the model you want (e.g., 'gpt-3.5-turbo', 'gpt-4')
13
  prompt=input_text,
14
  max_tokens=150,
15
  n=1,
 
9
  def chat_with_openai(input_text):
10
  try:
11
  response = openai.Completion.create(
12
+ engine="gpt-4o-mini", # Use the model you want (e.g., 'gpt-3.5-turbo', 'gpt-4')
13
  prompt=input_text,
14
  max_tokens=150,
15
  n=1,