Ary-007 commited on
Commit
1675639
·
verified ·
1 Parent(s): 408d193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,7 +62,7 @@ with st.sidebar:
62
  uploaded_file = st.file_uploader("Upload PDF", type=["pdf"],key=st.session_state.uploader_key)
63
 
64
  if uploaded_file and uploaded_file.name != st.session_state.processed_file:
65
- with st.spinner("Partitioning & Embedding Generation (This may take around 1-2 minutes)..."):
66
  # Save to temp file for processing
67
  temp_path = f"temp_{uploaded_file.name}"
68
  with open(temp_path, "wb") as f:
@@ -121,7 +121,7 @@ with st.sidebar:
121
  2. Wait for the **"Processed"** success message.
122
  3. Ask questions in the chat.
123
  4. The system uses **Hybrid Search** (Keyword + Vector) and **Re-ranking** for accuracy.
124
- 5. Always Click on **Clear Chat** to start a fresh sessionwith a new pdf.
125
  """
126
  )
127
 
 
62
  uploaded_file = st.file_uploader("Upload PDF", type=["pdf"],key=st.session_state.uploader_key)
63
 
64
  if uploaded_file and uploaded_file.name != st.session_state.processed_file:
65
+ with st.spinner("Partitioning & Embedding Generation (This may take around few seconds to few minutes depending upon file size & content)..."):
66
  # Save to temp file for processing
67
  temp_path = f"temp_{uploaded_file.name}"
68
  with open(temp_path, "wb") as f:
 
121
  2. Wait for the **"Processed"** success message.
122
  3. Ask questions in the chat.
123
  4. The system uses **Hybrid Search** (Keyword + Vector) and **Re-ranking** for accuracy.
124
+ 5. Always Click on **Clear Chat** to start a fresh session with a new pdf.
125
  """
126
  )
127