Spaces:
Sleeping
Sleeping
Update app.py
Browse files11 unmodified lines1213141516171811 unmodified linesmessages.append({"role": "user", "content": message})response = client.chat_completion(messages, max_tokens = 1000, temperature = 1, top_p = 0.1)# Changes the length of messageprint(response['choices'][0]['message']['content'].strip())11 unmodified lines1213141516171811 unmodified linesmessages.append({"role": "user", "content": message})response = client.chat_completion(messages, max_tokens = 500, temperature = 1, top_p = 0.1)# Changes the length of messageprint(response['choices'][0]['message']['content'].strip())
app.py+1-1