tanveeshsingh commited on
Commit
a9a9e5f
1 Parent(s): ae1c4ec
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ Now, please output the following as a JSON object:
46
  ]
47
 
48
  # Make a request to the OpenAI API
49
- completion = client.chat_completions.create(
50
  model="tgi",
51
  messages=messages,
52
  max_tokens=400
 
46
  ]
47
 
48
  # Make a request to the OpenAI API
49
+ completion = client.chat.completions.create(
50
  model="tgi",
51
  messages=messages,
52
  max_tokens=400