Spaces:
Sleeping
Sleeping
Update app.py
Browse files15 unmodified lines1617181920212215 unmodified linesprint(response['choices'][0]['message']['content'].strip())return response['choices'][0]['message']['content'].strip()def respond (message, history):eight_ball_answers = ["yes","no","ehhh probably not the best idea","Sure why not!","idk","i seems not","hahahaha... no","yes of course!"]random_choice = rd.choice(eight_ball_answers)return random_choice15 unmodified lines1617181920212215 unmodified linesprint(response['choices'][0]['message']['content'].strip())return response['choices'][0]['message']['content'].strip()def echo (message, history):eight_ball_answers = ["yes","no","ehhh probably not the best idea","Sure why not!","idk","i seems not","hahahaha... no","yes of course!"]random_choice = rd.choice(eight_ball_answers)return random_choice
app.py+1-1