I tried it, but its giving me this error,
ValueError: bad type: 'stream'
This is the trace back,
File "d:\users\user\anaconda3\lib\site-packages\streamlit\script_runner.py", line 324, in _run_script
exec(code, module.__dict__)
File "D:\Documents\My_projects\Project Resume Analyzer\resume_st.py", line 230, in <module>
main()
File "D:\Documents\My_projects\Project Resume Analyzer\resume_st.py", line 197, in main
txt = read_pdf_with_fitz(docx_file)
File "D:\Documents\My_projects\Project Resume Analyzer\resume_st.py", line 94, in read_pdf_with_fitz
with fitz.open(stream=file, filetype="pdf") as doc:
File "C:\Users\USER\AppData\Roaming\Python\Python37\site-packages\fitz\fitz.py", line 3505, in __init__
raise ValueError("bad type: 'stream'")