new-space / app.py
geeksiddhant's picture
initial commit
82c469c verified
raw
history blame contribute delete
345 Bytes
import random
import gradio as gr
def random_response(message, history):
return random.choice(["Yes", "No"])
# Create the chat interface with a custom title and icons
demo = gr.ChatInterface(
random_response,
type="messages",
title="100xEngineers Support Bot",
)
if __name__ == "__main__":
demo.launch(show_error=True)