Update app.py
Browse files
app.py
CHANGED
@@ -433,7 +433,7 @@ url_text = st.text_input("Please Enter a url here")
|
|
433 |
|
434 |
article_text = st.text_area(
|
435 |
label='Full Article Text',
|
436 |
-
value=
|
437 |
placeholder="Full article text will be displayed here..",
|
438 |
height=250,
|
439 |
key='text_area'
|
@@ -441,7 +441,7 @@ article_text = st.text_area(
|
|
441 |
|
442 |
if url_text:
|
443 |
article_title, cleaned_text = clean_text(url_text, url=True)
|
444 |
-
session_state.text_area = cleaned_text
|
445 |
|
446 |
|
447 |
|
|
|
433 |
|
434 |
article_text = st.text_area(
|
435 |
label='Full Article Text',
|
436 |
+
value= '',
|
437 |
placeholder="Full article text will be displayed here..",
|
438 |
height=250,
|
439 |
key='text_area'
|
|
|
441 |
|
442 |
if url_text:
|
443 |
article_title, cleaned_text = clean_text(url_text, url=True)
|
444 |
+
st.session_state.text_area = cleaned_text
|
445 |
|
446 |
|
447 |
|