Skip to content

Commit

Permalink
ask
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramyrahmeni committed Jun 17, 2024
1 parent 379b30f commit eece776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def main():
if pdf.size > MAX_UPLOAD_SIZE_BYTES:
st.error(f"File size is too large! Please upload a file smaller than {MAX_UPLOAD_SIZE_MB} MB.")
return
if st.session_state.embeddings is None and st.session_state.embedding_model is None and st.session_state.pages_and_chunks is None:
if st.session_state.embeddings is None and st.session_state.pages_and_chunks is None:
with st.spinner('Processing PDF...'):
pages_and_texts = open_and_read_pdf(pdf)

Expand Down

0 comments on commit eece776

Please sign in to comment.