Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -109,11 +109,11 @@ with st.sidebar:
|
|
109 |
with st.spinner("Processing..."):
|
110 |
if uploaded_files:
|
111 |
pdf_text = get_pdf_text(uploaded_files)
|
112 |
-
st.session_state["docs"]
|
113 |
|
114 |
if uploaded_url:
|
115 |
url_text = get_url_text(uploaded_url)
|
116 |
-
st.session_state["
|
117 |
|
118 |
st.success("Processing complete!")
|
119 |
else:
|
|
|
109 |
with st.spinner("Processing..."):
|
110 |
if uploaded_files:
|
111 |
pdf_text = get_pdf_text(uploaded_files)
|
112 |
+
st.session_state["docs"] += get_pdf_text(uploaded_files)
|
113 |
|
114 |
if uploaded_url:
|
115 |
url_text = get_url_text(uploaded_url)
|
116 |
+
st.session_state["extracted_text"] += get_url_text(uploaded_url)
|
117 |
|
118 |
st.success("Processing complete!")
|
119 |
else:
|