Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| import random | |
| # import lines go at the top, any libraries I need to import go above ^^ | |
| # def echo(message, history): | |
| # return message | |
| def yes_or_no(message, history): | |
| return random.choice(['Yes', 'No']) | |
| print("Hello World!") | |
| chatbot = gr.ChatInterface(yes_or_no, type="messages") | |
| chatbot.launch() |