Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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}'
|
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()
|