Spaces:
Sleeping
Sleeping
Update app.py
Browse files16 unmodified lines1718192021222316 unmodified linesmessages.extend(history)#adds multiple value + types rather than just onemessages.append({"role": "user", "content": message})response = client.chat_completion(messages, max_tokens=1000, temperature = 0.0, top_p=0.0)#change max tokens to a greater numberprint(response)return response['choices'][0]['message']['content'].strip()16 unmodified lines1718192021222316 unmodified linesmessages.extend(history)#adds multiple value + types rather than just onemessages.append({"role": "user", "content": message})response = client.chat_completion(messages, max_tokens=1000, temperature = 0.1, top_p=0.1)#change max tokens to a greater numberprint(response)return response['choices'][0]['message']['content'].strip()
app.py+1-1