nickmuchi commited on
Commit
a9ea74e
·
1 Parent(s): 28626a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -21,7 +21,7 @@ warnings.filterwarnings("ignore")
21
 
22
  # In[2]:
23
 
24
-
25
  #Functions
26
 
27
  def article_text_extractor(url: str):
@@ -116,7 +116,6 @@ def extract_text_from_file(file):
116
 
117
  def summary_downloader(raw_text):
118
 
119
- time_str = time.strftime("%d%m%Y-%H%M%S")
120
  b64 = base64.b64encode(raw_text.encode()).decode()
121
  new_filename = "new_text_file_{}_.txt".format(time_str)
122
  st.markdown("#### Download Summary as a File ###")
 
21
 
22
  # In[2]:
23
 
24
+ time_str = time.strftime("%d%m%Y-%H%M%S")
25
  #Functions
26
 
27
  def article_text_extractor(url: str):
 
116
 
117
  def summary_downloader(raw_text):
118
 
 
119
  b64 = base64.b64encode(raw_text.encode()).decode()
120
  new_filename = "new_text_file_{}_.txt".format(time_str)
121
  st.markdown("#### Download Summary as a File ###")