Benjy commited on
Commit
fef8c53
·
verified ·
1 Parent(s): 4a019f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def main():
47
 
48
  st.write(response)
49
  except Exception as e:
50
- st.error(f"An error occurred while processing '{pdf_file.name}': {str(e)}. This file may be protected by the author, or contain scanned text which this basic demo is not set up to process.")
51
 
52
  if __name__ == "__main__":
53
  main()
 
47
 
48
  st.write(response)
49
  except Exception as e:
50
+ st.error(f"An error occurred while processing '{pdf_file.name}'. This file may be protected by the author, or contain scanned text which this basic demo is not set up to process.")
51
 
52
  if __name__ == "__main__":
53
  main()