NoteSnap / formatting.patch
Prateek-044's picture
Upload 24 files
e9cd410 verified
--- a/app.py
+++ b/app.py
@@ -193,4 +193,4 @@
if __name__ == "__main__":
- main()
+ main()
\ No newline at end of file
--- a/modules/pdf_processor.py
+++ b/modules/pdf_processor.py
@@ -174,4 +174,4 @@
"The extracted text is very short. Please check if the PDF contains readable text."
)
- return processed_text
+ return processed_text
\ No newline at end of file
--- a/modules/text_summarizer.py
+++ b/modules/text_summarizer.py
@@ -282,4 +282,4 @@
)
return None
except Exception as e:
- st.error(f"❌ Unexpected error during summarization: {str(e)}")
- return None
+ st.error(f"❌ Unexpected error during summarization: {str(e)}")
+ return None
\ No newline at end of file
--- a/modules/utils.py
+++ b/modules/utils.py
@@ -124,4 +124,4 @@
b64 = base64.b64encode(content.encode()).decode()
href = f'<a href="data:text/plain;base64,{b64}" download="{filename}">Download Summary</a>'
- return href
+ return href
\ No newline at end of file
--- a/run.py
+++ b/run.py
@@ -39,4 +39,4 @@
if __name__ == "__main__":
- main()
+ main()
\ No newline at end of file
--- a/setup.py
+++ b/setup.py
@@ -41,4 +41,4 @@
"ai-notes-summarizer=app:main",
],
},
-)
+)
\ No newline at end of file
--- a/test_basic.py
+++ b/test_basic.py
@@ -140,4 +140,4 @@
if __name__ == "__main__":
success = main()
- sys.exit(0 if success else 1)
+ sys.exit(0 if success else 1)
\ No newline at end of file