Spaces:
Sleeping
Sleeping
File size: 403 Bytes
344055b d28b0fd 4beb145 7250c58 344055b 1e0901d 1bf30a7 f1ee0c0 d28b0fd 1bf30a7 4beb145 344055b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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()
|