import streamlit as st from transformers import pipeline pipeline = pipeline(task="conversational", model="lmsys/fastchat-t5-3b-v1.0") st.title("Conversational AI with FastChat") query = st.text_input("Enter your query:") response = pipeline(query) st.subheader("Response:") st.write(response["text"])