File size: 591 Bytes
d73f388
336bbde
d73f388
 
336bbde
003d75b
336bbde
29d8f29
 
336bbde
 
 
 
 
2c4f4e5
aacbf12
336bbde
d73f388
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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()