refactored project to use poetry
This commit is contained in:
9
rag_system/app/streamlit_app.py
Normal file
9
rag_system/app/streamlit_app.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import streamlit as st
|
||||
from rag_system.app.rag_chain import get_rag_response
|
||||
|
||||
st.title("RAG System")
|
||||
query = st.text_input("Ask a question:")
|
||||
if query:
|
||||
response = get_rag_response(query)
|
||||
st.write("### Response:")
|
||||
st.write(response)
|
||||
Reference in New Issue
Block a user