Spaces:
Running
Running
File size: 1,578 Bytes
e9cd410 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | --- 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 |