Spaces:
Sleeping
Sleeping
File size: 476 Bytes
dda8d28 b8a78f8 08a3235 e2632a4 dda8d28 b8a78f8 88af65f b8a78f8 88af65f b8a78f8 dda8d28 |
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(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()
|