ygauravyy commited on
Commit
699a7a1
·
verified ·
1 Parent(s): 64fb9f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ def predict(audio_file_pth, agree):
137
  # Generate response using OpenAI GPT-4
138
  # Generate response using OpenAI GPT-4
139
  try:
140
- response = client.chat.completions.create(
141
  model="gpt-4o-mini",
142
  messages=[
143
  {"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."},
 
137
  # Generate response using OpenAI GPT-4
138
  # Generate response using OpenAI GPT-4
139
  try:
140
+ response = openai.chat.completions.create(
141
  model="gpt-4o-mini",
142
  messages=[
143
  {"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."},