File size: 300 Bytes
b1ca590
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import gradio as gr
#import lines go at the top! Any libraries I need to import go up here^^

def echo(message, history):
    return message

chatbot = gr.ChatInterface(echo)
#defining my chatbot so that the user can interact, see their conversation history and send new messages

chatbot.launch(bot)