import gradio as gr # def # iface = gr.Interface( # fn=chatbot_interface, # inputs=gr.inputs.Textbox(label="Please Type Your Question Here: "), # outputs=[gr.outputs.Textbox(label="Answers"), gr.outputs.Textbox(label="Chat History")], # description="## Question Answering system\n\nIt supports **English** and **Bahasa Malaysia**.", # allow_flagging = False # ) # #Demo for the chatbot # iface.launch(inline = False)