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