Spaces:
Sleeping
Sleeping
File size: 368 Bytes
9e588c3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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)
|