binqiangliu commited on
Commit
7a40124
·
1 Parent(s): 24680b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ if st.session_state.file_uploaded:
56
  for pdf_file in pdf_files:
57
  file_path = os.path.join(uploadedfile_path, pdf_file.name)
58
  with open(file_path, 'wb') as f:
59
- f.write(pdf_file.read())
60
  st.success(f"File '{pdf_file.name}' saved successfully.")
61
  # if st.button('Process for QA'):
62
  try:
 
56
  for pdf_file in pdf_files:
57
  file_path = os.path.join(uploadedfile_path, pdf_file.name)
58
  with open(file_path, 'wb') as f:
59
+ f.write(pdf_file.read())
60
  st.success(f"File '{pdf_file.name}' saved successfully.")
61
  # if st.button('Process for QA'):
62
  try: