destiratnakomala commited on
Commit
4b85a7d
·
verified ·
1 Parent(s): 4d4f8e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -2,6 +2,8 @@ import streamlit as st
2
  import os
3
  import pandas as pd
4
  from PyPDF2 import PdfReader
 
 
5
  import openai
6
  from openai import OpenAI
7
  from pdfminer.high_level import extract_text
 
2
  import os
3
  import pandas as pd
4
  from PyPDF2 import PdfReader
5
+ from PyPDF2 import PdfFileReader
6
+ from PyPDF2.utils import PdfReadError
7
  import openai
8
  from openai import OpenAI
9
  from pdfminer.high_level import extract_text