CoolFace
Apppublic

HamzaHasan07/Retail_SQL_LLM

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes
app.py13 linesDownload Raw Back to root
1import streamlit as st2from main import get_few_shot_db_chain3 4st.title("Retail Products: Database Q&A ๐Ÿ‘•")5 6question = st.text_input("Question: ")7 8if question:9    chain = get_few_shot_db_chain()10    response = chain.run(question)11 12    st.header("Answer")13    st.write(response)