hc99's picture
Add files using upload-large-folder tool
c61e0be verified
raw
history blame
202 Bytes
import random
import gradio as gr
def random_response(message, history):
return random.choice(["Yes", "No"])
demo = gr.ChatInterface(random_response)
if __name__ == "__main__":
demo.launch()