nickmuchi commited on
Commit
2e36f79
1 Parent(s): 010b72f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -430,13 +430,13 @@ st.markdown(
430
  st.markdown("---")
431
 
432
  if "text_area" not in st.session_state:
433
- c = st.empty()
434
 
435
  url_text = st.text_input("Please Enter a url here")
436
 
437
  if url_text:
438
  article_title, cleaned_text = clean_text(url_text, url=True)
439
- st.session_state.text_area = cleaned_text
440
 
441
  article_text = st.text_area(
442
  label='Full Article Text',
 
430
  st.markdown("---")
431
 
432
  if "text_area" not in st.session_state:
433
+ st.session_state.text_area = st.empty()
434
 
435
  url_text = st.text_input("Please Enter a url here")
436
 
437
  if url_text:
438
  article_title, cleaned_text = clean_text(url_text, url=True)
439
+ st.session_state.text_area = cleaned_text[0]
440
 
441
  article_text = st.text_area(
442
  label='Full Article Text',