Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| import random | |
| def echo(message, history): | |
| return(message) | |
| def yes_no_maybe(message, history): | |
| responses = ["All sign points to yes" , "Undoubtedly no", "Maybe"] | |
| return random.choice(responses) | |
| chatbot = gr.ChatInterface(yes_no_maybe, type ="messages", title = "Chatty", description="This chatbot is super duper awesome!", theme='shivi/calm_seafoam') | |
| chatbot.launch() | |