Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ import pdf2image
|
|
42 |
# NLP Pkgs
|
43 |
from textblob import TextBlob
|
44 |
import spacy
|
45 |
-
from gensim import
|
46 |
import requests
|
47 |
import cv2
|
48 |
import numpy as np
|
@@ -183,7 +183,7 @@ def main():
|
|
183 |
message = st.text_area("Enter the Text","Type please ..")
|
184 |
st.text("Using Gensim Summarizer ..")
|
185 |
st.success(message)
|
186 |
-
summary_result =
|
187 |
st.success(summary_result)
|
188 |
if st.checkbox("Mark to better English Text Summarization!"):
|
189 |
#st.title("Summarize Your Text for English only!")
|
|
|
42 |
# NLP Pkgs
|
43 |
from textblob import TextBlob
|
44 |
import spacy
|
45 |
+
from gensim import summarize
|
46 |
import requests
|
47 |
import cv2
|
48 |
import numpy as np
|
|
|
183 |
message = st.text_area("Enter the Text","Type please ..")
|
184 |
st.text("Using Gensim Summarizer ..")
|
185 |
st.success(message)
|
186 |
+
summary_result = summarize(text)
|
187 |
st.success(summary_result)
|
188 |
if st.checkbox("Mark to better English Text Summarization!"):
|
189 |
#st.title("Summarize Your Text for English only!")
|