Spaces:
Sleeping
Sleeping
Update app.py
Browse files25 unmodified lines2627282930313225 unmodified linesyield responseprint(response["choices"][0]["message"]["content"].strip())return response["choices"][0]["message"]["content"].strip()def random_message(message, history):choices = ["try again later", "isn't looking good for you", "perhaps", "maybe", "doubtful", "yes", "no", "without a doubt", "most likely", "signs point to yes", "it is certain", "my sources say no", "reply hazy, try again"]25 unmodified lines2627282930313225 unmodified linesyield responseprint(response["choices"][0]["message"]["content"].strip())yield response["choices"][0]["message"]["content"].strip()def random_message(message, history):choices = ["try again later", "isn't looking good for you", "perhaps", "maybe", "doubtful", "yes", "no", "without a doubt", "most likely", "signs point to yes", "it is certain", "my sources say no", "reply hazy, try again"]
app.py+1-1