Spaces:
Sleeping
Sleeping
File size: 241 Bytes
0eb0da9 | 1 2 3 4 5 6 7 8 9 | import random
imoport gradio as gr
def random_response(message, history):
return random.choice(["Yes", "No"])
demo = gr.ChatInterface(fn=random_response, type="messages", autofocus= 'False', title= 'Random answer chatbot')
demo.launch() |