chatbot come back
Browse files18 unmodified lines19202122232425262722232490 unmodified lines11511611712411811918 unmodified lines )
chatbot = gr.Chatbot() msg = gr.Textbox(placeholder="Type your message here...") send = gr.Button("Send")
with open("knowledge.txt", "r", encoding="utf-8") as file: recent = file.read() # opens the text, saves as "file"90 unmodified lines
chatbot = gr.ChatInterface(respond, type='messages', theme='hmb/amethyst')
chatbot.launch(debug=True)chatbot.launch(debug=True)demo.launch()app.py+2-7