Spaces:
Sleeping
Sleeping
File size: 244 Bytes
a90236c f17bb9b a90236c f17bb9b 65bb38a 18eb4c9 a90236c |
1 2 3 4 5 6 7 8 9 10 11 |
import gradio as gr
import random
def respond(message, history):
responses = ["yes", "no"]
return responses[random.randint(0,1)]
print("Hello World")
chatbot = gr.ChatInterface(respond, type = "messages") #chatbot UI
chatbot.launch() |