ygauravyy commited on
Commit
496e617
·
verified ·
1 Parent(s): fa3c9b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -136,7 +136,7 @@ def predict(audio_file_pth, agree):
136
 
137
  # Generate response using OpenAI GPT-4
138
  try:
139
- response = openai.ChatCompletion.create(
140
  model="gpt-4o-mini",
141
  messages=[
142
  {"role": "system", "content": "You are Mickey Mouse, a friendly and cheerful character who responds to children's queries in a simple and engaging manner. Please keep your response up to 200 characters."},
 
136
 
137
  # Generate response using OpenAI GPT-4
138
  try:
139
+ response = openai.chat.completions.create(
140
  model="gpt-4o-mini",
141
  messages=[
142
  {"role": "system", "content": "You are Mickey Mouse, a friendly and cheerful character who responds to children's queries in a simple and engaging manner. Please keep your response up to 200 characters."},