udituen commited on
Commit
34ab2dc
·
verified ·
1 Parent(s): 8f83418

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -3
src/streamlit_app.py CHANGED
@@ -75,7 +75,7 @@ if 'document_processed' not in st.session_state:
75
  st.session_state.document_processed = False
76
 
77
  # Streamlit UI
78
- st.title("💬 DocsQA: Chat with Your Document")
79
 
80
  st.markdown("Upload a document and have a conversation about its contents!")
81
 
@@ -94,10 +94,10 @@ with st.sidebar:
94
  uploaded_file = st.file_uploader("Upload your file", type=["txt", "pdf"])
95
 
96
  if uploaded_file is not None:
97
- st.success(f"{uploaded_file.name}")
98
 
99
  # Process document button
100
- if st.button("🔄 Process Document", type="primary"):
101
  with st.spinner("Processing document..."):
102
  try:
103
  docs = read_uploaded_file(uploaded_file)
 
75
  st.session_state.document_processed = False
76
 
77
  # Streamlit UI
78
+ st.title("DocsQA: Chat with Your Document💬")
79
 
80
  st.markdown("Upload a document and have a conversation about its contents!")
81
 
 
94
  uploaded_file = st.file_uploader("Upload your file", type=["txt", "pdf"])
95
 
96
  if uploaded_file is not None:
97
+ st.success(f"{uploaded_file.name}")
98
 
99
  # Process document button
100
+ if st.button("Process Document", type="primary"):
101
  with st.spinner("Processing document..."):
102
  try:
103
  docs = read_uploaded_file(uploaded_file)