Spaces:
Sleeping
Sleeping
Update app.py
Browse files9 unmodified lines101112131415169 unmodified linesif history :messages.extend(history)messages.append({"role":"user","content": message})response = client.chat_completion(messages, max_tokens = 400)return response["choices"][0]["message"]["content"].strip()9 unmodified lines101112131415169 unmodified linesif history :messages.extend(history)messages.append({"role":"user","content": message})response = client.chat_completion(messages, max_tokens = 400, temperature = 2, top_p =.999)return response["choices"][0]["message"]["content"].strip()
app.py+1-1