Spaces:
Sleeping
Sleeping
Updated theme and added more respnses
Browse files1 unmodified line234556789101011121 unmodified lineimport random
def echo(message, history): choices = ["yes", "ummmmm no no no", "sure", ".....I think you need to rethink your choices", "you deserve a sweet treat for that"] choices = ["yes", "ummmmm no no no", "sure", ".....I think you need to rethink your choices", "you deserve a sweet treat", "I don't think so"] #use random to select one of these choices random_message = random.choice(choices) return random_message
chatbot = gr.ChatInterface(echo, type = "messages", theme = "soft")chatbot = gr.ChatInterface(echo, type = "messages", theme = "calm_seafoam")
chatbot.launch()app.py+2-2