Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| from ChatBot import chat_clone | |
| block=gr.Blocks() | |
| with block: | |
| gr.Markdown("<h1>AI Chat bot for Student Career Consuling</h1>") | |
| chatbot=gr.Chatbot() | |
| message=gr.Textbox(placeholder="Enter your Query") | |
| state=gr.State() | |
| send=gr.Button("Send") | |
| send.click(chat_clone,inputs=[message,state],outputs=[chatbot,state]) | |
| block.launch(debug=True) | |