Spaces:
Build error
Build error
Update app.py
Browse files10 unmodified lines1112131415161710 unmodified linesmessages.append({"role":"user", "content": message})response = client.chat_completion(messages,max_tokens = 100 #change the length)print(response["choices"][0]["message"]["content"].strip())return response["choices"][0]["message"]["content"].strip()10 unmodified lines1112131415161710 unmodified linesmessages.append({"role":"user", "content": message})response = client.chat_completion(messages,max_tokens = 1000 #change the length)print(response["choices"][0]["message"]["content"].strip())return response["choices"][0]["message"]["content"].strip()
app.py+1-1