Spaces:
Running
Running
import gradio as gr | |
import random | |
def random_response(message, history): | |
response = random.choice(["Yes", "No", "Maybe", "I don't know","Who are you"]) | |
return response | |
demo = gr.ChatInterface(random_response).launch() | |