Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| # first, add your import lines | |
| def echo(message, history): | |
| return message | |
| # Code the function that your chatbot will run! | |
| chatbot = gr.ChatInterface(echo) | |
| # Use gradio to create an interface where your user can use ChatInterface --> needs a function as a parameter to run | |
| chatbot.launch() | |
| # launches our chatbot | |