Spaces:
Sleeping
Sleeping
File size: 453 Bytes
5559f48 00bc389 a0cb387 5776c88 5559f48 e34ed6a a95007f e34ed6a 5559f48 ee53ac0 a0cb387 5559f48 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
import random
def echo(message, history):
return(message)
def yes_no(messsage, history):
responses = ["Yes", "No", "Maybe", "Definitely", "Ask me later", "Absolutely not"]
return random.choice(responses)
print("Hello, World")
chatbot = gr.ChatInterface(yes_no, type="messages", title="8 ball", description="Ask it questions and it well tell you if it will happen or not", theme='earneleh/paris')
chatbot.launch() |