harshSethi commited on
Commit
77ad381
·
verified ·
1 Parent(s): 063aa05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def predict(message,history):
42
 
43
  response = client.chat.completions.create(
44
  model = "gpt-4o-mini",
45
- message = history_list,
46
  temperature = 1.0,
47
  max_tokens=4000,
48
  stream = True
 
42
 
43
  response = client.chat.completions.create(
44
  model = "gpt-4o-mini",
45
+ messages = history_list,
46
  temperature = 1.0,
47
  max_tokens=4000,
48
  stream = True