NEXAS commited on
Commit
a1f0b04
·
verified ·
1 Parent(s): a818adb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -185,7 +185,7 @@ def format_prompt_inputs(image_collection, text_collection, video_collection, us
185
  import time # To simulate delays during processing
186
 
187
  def page_1():
188
- st.title("Page 1: Upload and Process PDF")
189
 
190
  uploaded_file = st.file_uploader("Upload a PDF file", type=["pdf"])
191
  if uploaded_file:
@@ -214,7 +214,7 @@ def page_1():
214
  st.error(f"Error processing PDF: {e}")
215
 
216
  def page_2():
217
- st.title("Page 2: Query and Use Processed Collections")
218
 
219
  if "image_collection" in st.session_state and "text_collection" in st.session_state and "video_collection" in st.session_state:
220
  image_collection = st.session_state.image_collection
 
185
  import time # To simulate delays during processing
186
 
187
  def page_1():
188
+ st.title("ADMIN")
189
 
190
  uploaded_file = st.file_uploader("Upload a PDF file", type=["pdf"])
191
  if uploaded_file:
 
214
  st.error(f"Error processing PDF: {e}")
215
 
216
  def page_2():
217
+ st.title("USER : QUERY")
218
 
219
  if "image_collection" in st.session_state and "text_collection" in st.session_state and "video_collection" in st.session_state:
220
  image_collection = st.session_state.image_collection