Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| import random | |
| # impost lines go at the top! Any libaries that I need to imprt go up here ^^ | |
| def yes_or_no(message, history): | |
| return random.choice(["Yes", "No", "Try again", "You are totally awsome", "This never happened", "Close thsi tab right now", "You got this", "Bye nope"]) | |
| title: "DEEPSHIKHA'S CHAT" | |
| # def echo(message, history): | |
| # return message | |
| print("Hello World!") | |
| chatbot = gr.ChatInterface(yes_or_no, type = "messages") | |
| # Definig my chatbot so that the user can interact and see their conversation history and send new messages | |
| chatbot.launch() |