Database_Q_and_A / main.py
pankajsingh3012's picture
Upload 5 files
e9c46af verified
raw
history blame
293 Bytes
import streamlit as st
from langchain_helper import get_few_shot_db_chain
st.title("AtliQ T Shirts: Database Q&A πŸ‘•")
question = st.text_input("Question: ")
if question:
chain = get_few_shot_db_chain()
response = chain.run(question)
st.header("Answer")
st.write(response)