Sheepbon's picture
Update app.py
4b75eb3 verified
raw
history blame contribute delete
470 Bytes
import gradio as gr
import random
def echo(message, history):
return(message)
def yes_no(message, history):
responses = ["Yes", "Perhaps", "Maybe", "No", "Ohh... I don't so", "Nah", "LOL, nice joke", "Ask again in 10 minutes"]
return random.choice(responses)
print("Hello, World!")
chatbot = gr.ChatInterface(yes_no, type="messages", title = "Chat with Sheepbon", description = "This chat will be recorded.", theme='shivi/calm_seafoam')
chatbot.launch()