dnj0 commited on
Commit
aaa4e39
·
verified ·
1 Parent(s): a8b1b7a

Update src/app.py

Browse files
Files changed (1) hide show
  1. src/app.py +7 -7
src/app.py CHANGED
@@ -137,13 +137,13 @@ def main():
137
  col1, col2 = st.columns([2, 1])
138
 
139
  if st.button("⚙️ Summarize & Store Each Component"):
140
- results = enhanced_rag.process_and_store_document(
141
- text=st.session_state.current_text,
142
- images=st.session_state.current_images,
143
- tables=st.session_state.current_tables,
144
- vector_store=vector_store,
145
- doc_id=st.session_state.current_document
146
- )
147
 
148
  with col1:
149
  uploaded_file = st.file_uploader(
 
137
  col1, col2 = st.columns([2, 1])
138
 
139
  if st.button("⚙️ Summarize & Store Each Component"):
140
+ results = rag_system.process_and_store_document(
141
+ text=st.session_state.current_text,
142
+ images=st.session_state.current_images,
143
+ tables=st.session_state.current_tables,
144
+ vector_store=vector_store,
145
+ doc_id=st.session_state.current_document
146
+ )
147
 
148
  with col1:
149
  uploaded_file = st.file_uploader(