Spaces:
Sleeping
Sleeping
import gradio as gr | |
import random | |
def echo(message, history): | |
return(message) | |
def yes_no(message,history): | |
responses = ["all signs point to yes", "outlook is good", "not likely", "ask again later", "perhaps", "my sources say no", "you may rely on it"] | |
return random.choice(responses) | |
chatbot = gr.ChatInterface(yes_no, type="messages", title = "aditigpt", description = "worlds most accurate chatbot!", theme = "Taithrah/Minimal") | |
chatbot.launch() | |