chatbot come back
Browse files18 unmodified lines19202122232425262728293090 unmodified lines12112212312418 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 lineschatbot = gr.ChatInterface(respond, type='messages', theme='hmb/amethyst')chatbot.launch(debug=True)18 unmodified lines19202122232490 unmodified lines11511611711811918 unmodified lines)with open("knowledge.txt", "r", encoding="utf-8") as file:recent = file.read()# opens the text, saves as "file"90 unmodified lineschatbot = gr.ChatInterface(respond, type='messages', theme='hmb/amethyst')chatbot.launch(debug=True)demo.launch()
app.py+2-7